@10ark/react-template 中文文档教程
react-template
我们采用、创建或使用的所有组件、模式、约定、标准的模板项目。
Process
- create-react-app
- npm install --save redux
- npm install --save react-redux
- npm install --save-dev redux-devtools
- npm install --save-dev react-devtools
Stack
react - 客户端VC框架,V为Components形式,C为Router形式
redux - 客户端 M 框架,形式为 M 或只能通过调度操作改变的单状态树
immutable - 不可变的数据库
Roadmap
- We will start off with the basic structure for a react / redux / immutable project and refactor it by feature when it starts to grow
- Add propTypes to Components
- Add Routing for Components
- Look at using redux-actions
- Bring TypeScript into the stack
- Bring Sagas in to replace Thunk
FAQ
- What is the difference between import statements with and without curly braces {} ? The best answer is found in the Mozilla documentation.
react-template
Template project of all components, patterns, conventions, standards that we adopt, create or use.
Process
- create-react-app
- npm install --save redux
- npm install --save react-redux
- npm install --save-dev redux-devtools
- npm install --save-dev react-devtools
Stack
react - client side VC framework, V in the form of Components and C in the form of Router
redux - client side M framework, M in the form or single state tree that may only be mutated by dispatching actions
immutable - immutable data library
Roadmap
- We will start off with the basic structure for a react / redux / immutable project and refactor it by feature when it starts to grow
- Add propTypes to Components
- Add Routing for Components
- Look at using redux-actions
- Bring TypeScript into the stack
- Bring Sagas in to replace Thunk
FAQ
- What is the difference between import statements with and without curly braces {} ? The best answer is found in the Mozilla documentation.