REACT: Under the Hood of UseState
Did you know? React doesn’t store state in variables.
When you call:
const [count, setCount] = useState(0);
You might assume React stores count in some internal object or variable tied to your component.
But that’s not how it works.
✅ React actually...
omm-pani-blogs.hashnode.dev12 min read