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.
Note: React Redux is dependent on