News for hackers. Stuff that matters.
Re:Things I wish I knew about state management when I starte... by veeralpatel979 on Monday February 10, 2020 @05:22PM (#22294056)
Hey - author here.

Try Redux; acemarke has been evangelizing Redux Toolkit [1] recently and it looks great for a beginner not familiar to the Redux ecosystem.

But also - if Redux just isn't clicking for you, or if it is but you feel like writing it is unnatural - know that you're not alone.

Learn MobX, learn how to manage state with context and hooks [2], learn Apollo Client.

Yes it's a lot of up-front work, but you really do need to find a state management approach that works for you if you want to write non-trivial apps, in my opinion.

[1] https://redux-toolkit.js.org/ [2] https://kentcdodds.com/blog/application-state-management-wit...

There are no comments on this comment yet.