React.useState for 3 years, before finding the limits

1 point by yagudaev 11 months ago | 1 comment
  • yagudaev 11 months ago
    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