News for hackers. Stuff that matters.
Re:React vs. Backbone in 2025 by sothatsit on Saturday October 25, 2025 @07:59AM (#45703179)
useState is the built-in way to manage state in React today. There were also similar mechanisms in class components before hooks came along. This is pretty integral to how React works.

People do add state managers to store state outside the component tree, but a lot of components don't need that.

There are no comments on this comment yet.