react-guide/redux-tutorial-cn
react-guide/redux-tutorial-cn has 1,891 GitHub stars and 290 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-06 03:58 UTC. Last push 2019-04-25.
Redux Tutorial 中文翻译
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalredux-tutorial
本文档正在翻译中,欢迎认领 Issue,和我们一起完善。
英文原版:https://github.com/happypoulp/redux-tutorial/
这是一个很简短的教程,可以让你领略 Flux 和 Redux 思想的精髓。
当你初次接触 Redux 时,Redux 官方文档极其详尽,是你的首选。本教程不同点是,通过介绍 Redux 使用来向你展示 Flux 概念。如果你想了解更多细节,请参谋 Redux 官方文档。
准备
为了理解本项目中的示例代码,你需要了解一些 ES6,ES7(Object Spread)特性。同时本教程只针对 Redux 3.0.2 和 react-redux 4.0.0。
克隆项目
git clone https://github.com/react-guide/redux-tutorial-cn.git
进入目录
cd redux-tutorial-cn
安装依赖
npm install
浏览教程
本教程按照阅读的先后顺序,把内容分为多个 JavaScript 文件。
从第一个章节开始:简介
运行示例
既然是真实的 JS 文件,你可以直接运行这些示例,来验证结果符合预期:
npm run example 01_simple-action-creator.js
开始享受吧!
本文档翻译流程符合 ETC 翻译规范,欢迎你来一起完善
Explore related projects
sindresorhus/awesome
😎 Awesome lists about all kinds of interesting topics [NOTE: Pull requests are temporarily disabled until I have a chance to catch up with the existing ones]
532,414 starsEbookFoundation/free-programming-books
:books: Freely available programming books
401,125 starsnilbuild/developer-roadmap
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
371,409 starsvinta/awesome-python
The definitive list that answers "I want to do X in Python, which tool should I use?"
332,990 stars