React·Advanced·Conceptual·1 min read
Can a reducer return the same state object?
Short interview answer
Yes. If nothing changed, returning the existing reference lets React avoid work. Never mutate that object before returning it.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.