Understanding State as Snapshot In React In A Funny Way
Here's my attempt to explain the React doc "State as a Snapshot" in a more beginner-friendly way:
The key idea is that state in React represents a snapshot of the app at a given point in time. When state changes, React basically takes a new "snapshot...
krishnapathak.hashnode.dev2 min read