Quick Start
React-Redux is the official React binding for Redux. It lets your React components read data from a Redux store, and dispatch actions to the store to update data.
Installation
To use React-Redux with your React app:
or
Provider
and connect
Provider
and connect
React-Redux provides <Provider />
, which makes the Redux store available to the rest of your app:
React-Redux provides a connect
function for you to connect your component to the store.
Normally, you’ll call connect
in this way:
Last updated