❌ Avoid resetting state when prop changes in an effect.
George Moller
Visit on X@_georgemoller118K followers
101,491 views
❌ Avoid resetting state when prop changes in an effect.
✅ Instead, use the key prop to tell react what makes the component reset its state.
Comments
Comments from the original post on X (Twitter)
No comments yet
