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
a3737337
- 粉丝: 0
- 资源: 2869
最新资源
- 【状态估计】基于UKF法、AUKF法、EUKF法电力系统三相状态估计研究附Matlab代码实现.rar
- 【状态估计】基于粒子滤波和卡尔曼滤波实现锂离子电池放电时间预测与使用特征研究附Matlab代码.rar
- 【状态估计】基于增强数值稳定性的无迹卡尔曼滤波实现多机电力系统动态状态估计Matlab代码.rar
- 【状态估计】无迹卡尔曼滤波UKF应用于FitzHugh-Nagumo神经元动力学研究Matlab代码实现.rar
- 【最优潮流】基于人工鱼群算法的最优潮流计算附Matlab代码.rar
- 【最优控制方法】基于MATLAB和Gazebo模拟评估所提出的控制算法的有效性研究附Matlab代码.rar
- SRACS 计算自谐振空心线圈的谐振频率和品质因数附Matlab代码.rar
- LSCM 纹理映射在 Matlab 中的实现.rar
- 变分非线性线性调频模态分解 (VNCMD) Matlab实现.rar
- 电力系统风储联合一次调频仿真模型Simulink仿真.rar
- 动态规划优化插电式混合动力电动汽车 (PHEV) 能源管理Simulink实现.rar
- 多目标海洋捕食者算法(MOMPA)Matlab代码.rar
- Node.js 安装与环境配置指南
- 含电热联合系统的微电网运行优化附Matlab代码.rar
- 混合动力汽车(HEV)simulink实现.rar
- 基于 RBF 神经网络进行非线性系统识别附matlab代码.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈