My opinion might be controversy but I avoid any state management framework as long as possible.
I am not a huge fan of the excessive use of the Flux pattern. I just use frameworks-/libraries like redux if I really benefit from cashing data.
But most of the time I like to design my backend API in a way that I can get exactly the information that I need for e.g. a React Component. And then I just fetch the data freshly from the API every time. => no state management required.
Why do prefer this? It just reduces the overall complexity of my application.
That being said, if I have a use case that benefits from cashing I tend to use Redux.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
My opinion might be controversy but I avoid any state management framework as long as possible.
I am not a huge fan of the excessive use of the Flux pattern. I just use frameworks-/libraries like redux if I really benefit from cashing data.
But most of the time I like to design my backend API in a way that I can get exactly the information that I need for e.g. a React Component. And then I just fetch the data freshly from the API every time. => no state management required.
Why do prefer this? It just reduces the overall complexity of my application.
That being said, if I have a use case that benefits from cashing I tend to use Redux.