3 ms·
Absolutely - all you've ever needed to do is `npm i redux react-redux`, then add them to the app. They're just libraries, no special behavior needed. See the
by acemarke 8y ago
Absolutely - all you've ever needed to do is `npm i redux react-redux`, then add them to the app. They're just libraries, no special behavior needed.
See the "Configuring Your Store" docs page [0] for copy-pasteable examples of adding Redux to a React project.
Also, we're working on a `redux-starter-kit` project [1] that will soon become an official Redux-branded tool to help with common pain points, like setting up the store properly, simplifying immutable reducer update logic, and more. I talked about it in my React Boston "State of Redux" presentation [2] over the weekend. Please try it out, and let us know how it works and what else we should add!
[0] https://redux.js.org/recipes/configuringyourstore https://redux.js.org/recipes/configuringyourstore
[1] https://github.com/markerikson/redux-starter-kit https://github.com/markerikson/redux-starter-kit
[2] https://blog.isquaredsoftware.com/2018/10/presentation-state-of-redux/ https://blog.isquaredsoftware.com/2018/10/presentation-state...