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.
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.
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.
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.
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.