DEV Community

Discussion on: Referential Equality in React

Collapse
 
tylerthehaas profile image
Tyler Haas

correct. If at any time you return a new object it will prevent this problem.