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
React Redux 7.1 requires React 16.8.3 or later.
To use React Redux with your React app:
or
You'll also need to install Redux and set up a Redux store in your app.
Provider
Provider
React Redux provides <Provider />
, which makes the Redux store available to the rest of your app:
connect()
connect()
React Redux provides a connect
function for you to connect your component to the store.
Normally, you’ll call connect
in this way:
Help and Discussion
The #redux channel of the Reactiflux Discord community is our official resource for all questions related to learning and using Redux. Reactiflux is a great place to hang out, ask questions, and learn - come join us!
You can also ask questions on Stack Overflow using the #redux tag.
Docs Translations
Last updated