4 ms·
Ironically, Dan and I have spent more time trying to convince people to _not_ use Redux all the time than we have trying to actually market it :( [0] [1] We s
by acemarke 6y ago
Ironically, Dan and I have spent more time trying to convince people to _not_ use Redux all the time than we have trying to actually market it :( [0] [1]
We specifically have info in our docs on when it actually makes sense to use Redux [2] [3], but that doesn't change the flood of Medium blog posts out there.
I created the Redux Style Guide docs page [4] to try to give some clarification on our actual current recommended patterns and usage practices, and our Redux Toolkit package to simplify common Redux use cases [5]. Unfortunately, there's only so much we can do - a lot of people never even look at the actual docs.
[0] https://medium.com/@dan_abramov/you-might-not-need-redux-be46360cf367 https://medium.com/@dan_abramov/you-might-not-need-redux-be4...
[1] https://blog.isquaredsoftware.com/2017/05/idiomatic-redux-tao-of-redux-part-1/ https://blog.isquaredsoftware.com/2017/05/idiomatic-redux-ta...
[2] https://redux.js.org/introduction/getting-started#should-you-use-redux https://redux.js.org/introduction/getting-started#should-you...
[3] https://redux.js.org/faq/general#when-should-i-use-redux https://redux.js.org/faq/general#when-should-i-use-redux
[4] https://redux.js.org/style-guide/style-guide https://redux.js.org/style-guide/style-guide
[5] https://redux-toolkit.js.org https://redux-toolkit.js.org
- ng12 6y agoJust like to chime in and say I'm really appreciative of these efforts. I get devs at my firm who are learning to do web dev for the first time and ask why we're not using Redux by default. I link them to Dan's article and the Redux FAQ as part of my explanation that Redux is a life-saver when you need it and aggressive overengineering when you don't.
- acemarke 6y agoThanks :) I also should have linked my post "Redux - Not Dead Yet!" [0], which talks about how Redux compares to other tools like context, useReducer, and GraphQL, when it makes sense to use those, and reasons why Redux is still useful depending on what you're actually trying to do. [0] https://blog.isquaredsoftware.com/2018/03/redux-not-dead-yet/ https://blog.isquaredsoftware.com/2018/03/redux-not-dead-yet...