- …
Original video by BeJS:
State management is easy, until it’s not. Sure, useState() is fine for simple component state management – that’s literally what it’s for. But as our React apps grow in complexity, the inevitable long chain of useStates make it more difficult to understand and maintain app logic, turning our components into Rube Goldberg machines.
React 19 opens up a whole new world of state management patterns that actually make sense for local, shared, and global state. In this talk, we’ll transition from using useState() everywhere to discovering how server components, URL parameters, and more can make state management much simpler. We’ll also revisit classic hooks, learn about new hooks, and see how 3rd-party state management libraries and local-first apps can be use-ful.
Let’s say goodbye (mostly) to useState(), and hello to a future where state management isn’t just a stack of setStates.