- Notifications
You must be signed in to change notification settings - Fork0
Official React bindings for Redux
License
u8558574xuyou7438/react-redux
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Official React bindings forRedux.
Performant and flexible.
The recommended way to start new apps with React Redux is by using theofficial Redux+JS template forCreate React App, which takes advantage ofRedux Toolkit.
npx create-react-app my-app --template redux
React Redux 7.1 requiresReact 16.8.3 or later.
To use React Redux with your React app, install it as a dependency:
# If you use npm:npm install react-redux# Or if you use Yarn:yarn add react-redux
You'll also need toinstall Redux andset up a Redux store in your app.
This assumes that you’re usingnpm package managerwith a module bundler likeWebpack orBrowserify to consumeCommonJSmodules.
If you don’t yet usenpm or a modern module bundler, and would rather prefer a single-fileUMD build that makesReactRedux available as a global object, you can grab a pre-built version fromcdnjs. Wedon’t recommend this approach for any serious application, as most of the libraries complementary to Redux are only available onnpm.
As of React Native 0.18, React Redux 5.x should work with React Native. If you have any issues with React Redux 5.x on React Native, runnpm ls react and make sure you don’t have a duplicate React installation in yournode_modules. We recommend that you usenpm@3.x which is better at avoiding these kinds of issues.
The React Redux docs are now published athttps://react-redux.js.org .
We're currently expanding and rewriting our docs content - check back soon for more updates!
We do a deep dive on how React Redux works inthis readthesource episode.
Also, the postThe History and Implementation of React-Reduxexplains what it does, how it works, and how the API and implementation have evolved over time.
Enjoy!
About
Official React bindings for Redux
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Languages
- JavaScript96.8%
- CSS3.2%