React Redux
=========================
Official React bindings for [Redux](https://github.com/reactjs/redux).
Performant and flexible.
[![build status](https://img.shields.io/travis/reactjs/react-redux/master.svg?style=flat-square)](https://travis-ci.org/reactjs/react-redux) [![npm version](https://img.shields.io/npm/v/react-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-redux)
[![npm downloads](https://img.shields.io/npm/dm/react-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-redux)
[![redux channel on slack](https://img.shields.io/badge/slack-redux@reactiflux-61DAFB.svg?style=flat-square)](http://www.reactiflux.com)
## Installation
React Redux requires **React 0.14 or later.**
```
npm install --save react-redux
```
This assumes that you’re using [npm](http://npmjs.com/) package manager with a module bundler like [Webpack](http://webpack.github.io) or [Browserify](http://browserify.org/) to consume [CommonJS modules](http://webpack.github.io/docs/commonjs.html).
If you don’t yet use [npm](http://npmjs.com/) or a modern module bundler, and would rather prefer a single-file [UMD](https://github.com/umdjs/umd) build that makes `ReactRedux` available as a global object, you can grab a pre-built version from [cdnjs](https://cdnjs.com/libraries/react-redux). We *don’t* recommend this approach for any serious application, as most of the libraries complementary to Redux are only available on [npm](http://npmjs.com/).
## React Native
As of React Native 0.18, React Redux 4.x should work with React Native. If you have any issues with React Redux 4.x on React Native, run `npm ls react` and make sure you don’t have a duplicate React installation in your `node_modules`. We recommend that you use `npm@3.x` which is better at avoiding these kinds of issues.
If you are on an older version of React Native, you’ll need to keep using [React Redux 3.x branch and documentation](https://github.com/reactjs/react-redux/tree/v3.1.0) because of [this problem](https://github.com/facebook/react-native/issues/2985).
## Documentation
- [Redux: Usage with React](http://redux.js.org/docs/basics/UsageWithReact.html)
- [API](docs/api.md#api)
- [`<Provider store>`](docs/api.md#provider-store)
- [`connect([mapStateToProps], [mapDispatchToProps], [mergeProps], [options])`](docs/api.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options)
- [Troubleshooting](docs/troubleshooting.md#troubleshooting)
## How Does It Work?
We do a deep dive on how React Redux works in [this readthesource episode](https://www.youtube.com/watch?v=VJ38wSFbM3A).
Enjoy!
## License
MIT
## 仓库
https://github.com/reduxjs/react-redux
react-redux-5.0.0-beta.2.zip
需积分: 0 73 浏览量
更新于2024-08-31
收藏 36KB ZIP 举报
Redux 的官方 React 绑定。高性能且灵活。
Official React bindings for Redux. Performant and flexible.
a3737337
- 粉丝: 0
- 资源: 2869
最新资源
- Python 端口进程管理工具
- VMD-SVM-GWO,基于变分模态分解的灰狼算法优化支持向量机的时间序列预测 直接从Excel中导入数据即可运行,代码注释清晰,适合初学者 在该框架下,可实现 1)GWO算法的改进(领域搜索策略改进
- 多能转的综合能源系统优化调度 本代码构建了含风电、光伏、光热发电系统、燃气轮机、燃气锅炉、电锅炉、储气、储电、储碳、碳捕集装置的综合能源系统优化调度模型,并考虑P2G装置与碳捕集装置联
- NPC三电平逆变器离散化并网仿真,主电路参数见图 使用载波层叠方式,可以正常运行
- 19pptxpptxppt
- re表达式-素材.zip
- 2025年会晚会企业员工风采展示相册模板.pptx
- 复古电影胶卷素材同学聚会电子相册模板.pptx
- 复古黑板素材毕业纪念册模板.pptx
- 复古怀旧教室桌椅素材同学聚会毕业纪念册模板.pptx
- 同学聚会毕业电子相册模板.pptx
- 吉它书本黑板素材毕业纪念电子相册模板.pptx
- 深圳企业年会晚会优秀员工风彩展示相册模板.pptx
- SmartSystemMenu:窗口增强工具,支持置顶、毛玻璃、截图等多项实用功能软件.rar
- 基于MindSpore框架和ResNet50迁移学习的方法实现花卉图像识别分类源码+文档说明+数据集(5类)
- 保时捷Pamela生成器 炫耀你的个性座驾.mp4