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-rc.2.zip
共40个文件
js:24个
md:8个
yml:2个
需积分: 0 1 下载量 123 浏览量
2024-08-31
13:47:37
上传
评论
收藏 71KB ZIP 举报
温馨提示
Redux 的官方 React 绑定。高性能且灵活。 Official React bindings for Redux. Performant and flexible.
资源推荐
资源详情
资源评论
收起资源包目录
react-redux-5.0.0-rc.2.zip (40个子文件)
.eslintrc 562B
yarn.lock 123KB
LICENSE.md 1KB
codecov.yml 15B
.travis.yml 117B
webpack.config.js 1KB
src
connect
wrapMapToProps.js 3KB
connect.js 3KB
mapDispatchToProps.js 882B
mergeProps.js 1KB
mapStateToProps.js 508B
verifySubselectors.js 756B
selectorFactory.js 4KB
utils
warning.js 636B
shallowEqual.js 357B
verifyPlainObject.js 311B
wrapActionCreators.js 173B
storeShape.js 188B
Subscription.js 2KB
components
Provider.js 1KB
connectAdvanced.js 9KB
index.js 191B
CONTRIBUTING.md 2KB
CHANGELOG.md 107B
.babelrc 1KB
docs
troubleshooting.md 4KB
api.md 18KB
README.md 377B
package.json 4KB
build
use-lodash-es.js 223B
CODE_OF_CONDUCT.md 1KB
test
setup.js 180B
utils
wrapActionCreators.spec.js 828B
shallowEqual.spec.js 2KB
components
Provider.spec.js 5KB
connect.spec.js 57KB
.gitignore 70B
.eslintignore 16B
prepublish.js 513B
README.md 3KB
共 40 条
- 1
资源评论
a3737337
- 粉丝: 0
- 资源: 2869
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- cocos creator 3.8 抖音侧边栏复访功能
- 【重磅,更新!】中国2839个站点逐日降水数据集(0.1°/0.25°/0.5°)(1961-2022年)
- RPC远程调用示例,zeroc入门例程
- 基于python实现的多智能体强化学习(MARL)算法复现,包括QMIX,VDN,QTRAN、MAVEN+源码(毕业设计&课程设计&项目开发)
- 【重磅,更新!】教学成果、一流学科申报书范本、最全教改、课程思政(内附清单)
- mptcp-样包参考协议开发
- 禁止WIN10自动更新
- svg动画示例效果展示
- ndra-dhcpv6样包参考
- 【重磅,更新!】中国31省份全要素生产率(1990-2022年)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功