Hacker News new | ask | show | jobs
React.useState for 3 years, before finding the limits (yagudaev.com)
1 points by yagudaev 682 days ago
1 comments

Hi everyone ,

Wrote a short article about my state management journey in React. The tl;dr; is 10 years of react, I decided to keep things simple and only `useState` and basic react hooks.

For the last 3 years, I've been using basic react hooks and it was more than enough. Until, I tried to build a more complex UI and finally needed a bit more.

Endedup using Zustand to help manage the state and avoid stale inter-connected state.

Hope it helps someone out there