Introduction
At this stage, reader should masters the skills in traditional OOP UI framework like
- Android-Kotlin / Android-Java, or
- iOS-Swift / iOS-Objective-C, or
- Web-JQuery
The training in React basic aims at
- Facilitating the use of JS ES6 syntax for MobApp and WebApp development
- Preparing the mindset migration for programmers working in legancy OOP UI framework
- Working in both stateful and stateless ways on implementation
- Understanding the core value of reactive programming
Prerequisite
- ES6
- Default Params
function foo(name='defaultname')
- Template Literals
${name} is a ${title}
- Destructuring
let {name, title} = person
- Arrow Functions
- Scope difference between
items.forEach(function(item) {...})
anditems.forEach((item) => { ... })
- Scope difference between
- Promises
- let and const
- Modules
- https://rangle-io.gitbooks.io/react-training/content/book/es6_constructs/
- Default Params
- IDE, ordered by my preference, on Mac
- Visual studio code
- Sublime + babel-sublime + source tree
- C9
Points to note
- Prior to The advances, the diagram showing redux life-cycle always has some faults comparing to real redux ecosystem, so it will be updated eventually
- To know the truth, please visit https://github.com/uanders/react-redux-cheatsheet
Reference
redux
redux-persist
redux-saga
https://github.com/redux-saga/redux-saga/blob/master/examples/real-world/sagas/index.js
https://github.com/redux-saga/redux-saga/blob/master/examples/shopping-cart/src/sagas/index.js
https://github.com/redux-saga/redux-saga/blob/master/examples/async/src/sagas/index.js
https://github.com/redux-saga/redux-saga/blob/master/docs/advanced/Channels.md
https://github.com/redux-saga/redux-saga/blob/master/examples/cancellable-counter/src/sagas/index.js