react-redux Getting started with react-redux Installation or Setup


Using 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 redux store

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.

To install react-redux all you have to do is run this npm command

npm install --save react-redux

And you're done.

Note: React Redux is dependent on

  • React (Version 0.14 or later) and
  • Redux