redux directly with
react might seem little difficult, As for every
component you want to update when store changes, you have to subscribe that component to the
React Redux takes care of all these and makes it really easy to write components that can request the data it needs from
redux store and be notified Only when those data changes., This allows us to write really effective components.
react-redux all you have to do is run this
npm install --save react-redux
And you’re done.
React Redux is dependent on
- React (Version 0.14 or later) and
if you want to reproduce, please indicate the source:
Getting started with react-redux – Installation or Setup - CodeDay