React·Advanced·Conceptual·1 min read
Should an effect set state from props on every change?
Short interview answer
Usually no, because it duplicates derivable data and causes an extra render. Deliberate state reset should use identity or an explicit product transition.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.