Choosing a state management library for your React app can be tricky. Some of your options include:
Using Reactβs useReducer hook in combination ...
For further actions, you may consider blocking this person and/or reporting abuse
Great, thank you that is exactly what I need to improve my work
Glad to hear, let me know if you have any questions π
No problem, I will :)
Bookmarking for my next React project. react-tracked looks great!
I actually hadn't heard of it until I was Googling for workarounds to Context's re-render problem! I'm curious if many people use it in their apps or if people jump straight to something like Redux π€
Same thoughts.
I'm checking out easy-peasy for now as it is more friendly at least for me. π
Wow, I wonder how many state management libraries are out there because I hadn't heard of that one either! I might check that one out too π
Nice article!
Just a question though, because in most tutorials I see using context, the app is so small that the direct children of the entire app use context. I was wondering, in a larger app, should the Provider always be at the top in app.js, or only in the parent of the children that require the state?
Good question! The context doesn't need to be at the top of the app, you can put it anywhere where it's needed.
Nicely written! π―
Thank you!