Ask anything to Redux

View original thread
James Clarke's photo

Thanks for the detailed answer to my last question! Do you think complex apps can be built without a state management solution like Redux?

Andrew Clark's photo

Front-end engineer at Facebook

You can get pretty far without a state management solution like Redux, but for any non-trivial app, I wouldn't recommend it. But as I've said in a few responses already, I don't think it's wise to put everything into your Redux store.

The rule of thumb I follow is: when in doubt, implement your state using React component state (that doesn't mean you can't use a reducer). Only move it into Redux once it becomes necessary.