Why React's Object State Tracking is Weird



Why React's Object State Tracking is Weird

Why React's Object State Tracking is Weird

Alternative Title: How JavaScript References (Which Is Also The Same For TypeScript) Are Critical To React and Misunderstanding Them Can Lead You To Bugs In React Which Aren’t The Fault of React

React tracks objects and arrays differently than it does strings, numbers and booleans. Find out why it does that and how to fix it.

#shorts

Comments are closed.