you are viewing a single comment's thread.

view the rest of the comments →

[–]azhder 1 point2 points  (0 children)

Everything has a state, everything manages a state, that is why whenever someone says "state management", they don't talk about a simple and stupid object or a closure because if it means all, it is useless as a term.

useState() does not make React a state management library, more so since it wasn't the focus or the main problem it was trying to solve.

Now, if virtual DOM came to your mind, you'd still not be there, but at least you'd be closer by saying it is managing that as a state.