A London Web Developer. A lot of my professional experience is in digital agencies and I enjoy helping new front-end developers learn how to code websites.
When we're talking "complex state management", how complex are we speaking? As someone who is learning React, I am keen to know when to start taking Redux seriously.
When we're talking "complex state management", how complex are we speaking? As someone who is learning React, I am keen to know when to start taking Redux seriously.
I would say use Redux as soon as you realize that React's built-in state management is becoming a prop drilling hell.
Have a look a the React docs for the very useful technique of lifting state up. With this technique, you:
This can get you very far in React. You'll know when it becomes a pain to manage.
Take a look at this post from Dan Abramov about when you may not need Redux.