react-guide / redux-tutorial-cn Goto Github PK
View Code? Open in Web Editor NEWRedux Tutorial 中文翻译
Redux Tutorial 中文翻译
URL https://github.com/react-guide/redux-tutorial-cn/blob/master/README.md
欢迎认领,直接回复即可认领
`// 通过这种特性使用 redux connect, 我们可以把如下代码:
/*
let mapStateToProps = (state) => { ... }
@connect(mapStateToProps)
export default class MyClass {}
*/
// 替换成:
/*
let mapStateToProps = (state) => { ... }
class MyClass {}
export default connect(mapStateToProps)(MyClass)
*/`
这里写反了吧?
但是我看到issue里并没有可以认领的呀...我可以参与翻译提PR吗?
请问一下这个项目怎么运行?谢谢
redux-tutorial-cn/04_get-state.js
Lines 93 to 94 in f89c4c5
如题。
Redux 背后的 动机,核心概念 和 三大原则
因为大小写原因导致404了
核心概念
https://cn.redux.js.org/docs/introduction/coreconcepts -> https://cn.redux.js.org/docs/introduction/CoreConcepts
三大原则
https://cn.redux.js.org/docs/introduction/threeprinciples -> https://cn.redux.js.org/docs/introduction/ThreePrinciples
"use strict";
import webpackDevServer from './11_src/src/webpack-dev-server'
import server from './11_src/server'
const port = 5050
webpackDevServer.listen(port)
server.listen(port)
console.log(`Server is listening on http://127.0.0.1:${port}`)
代码,使用babel-node运行
SyntaxError: Unexpected token import
是为什么?
URL: https://github.com/react-guide/redux-tutorial-cn/blob/master/04_get-state.js
欢迎认领,直接回复即可认领
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.