DEV Community

loading...

Discussion on: Why learn Redux in 2020: A way to deal with react's messy state management

Collapse
bcbrian profile image
Brian Bartholomew

The redux/flux pattern is great for managing complex state. In fact the creators of redux are part of the react team. They brought the pattern into react itself with a hook called useReducer. If you have not checked it out you should.

Collapse
jha profile image
Amit jha Author

Ah! I'm definitely going to check it out. I've been a bit unsure about using hooks with redux because of the stale props warning mentioned on the react-redux page but I hope useReducer does not have that issue.