This is to avoid changing the state directly. If we don’t spread, we will be changing the state directly. So we need to spread to a new object. Trust me on this
This is to avoid changing the state directly. If we don’t spread, we will be changing the state directly. So we need to spread to a new object. Trust me on this