学习并仿写react,目前已提供基础功能。
- 
- Fiber
 -  hooks
- useReducer
 - useState
 
 
 - 
React15
-  Class Component
-  LifeCycle
- old
 - new
 
 - setState
 - syntheticEvent
 
 -  LifeCycle
 -  Function Component
- basic
 
 - createElement
 -  Children
-  map
- flat
 - key
 
 
 -  map
 - ref
 
 -  Class Component
 - 
ReactDOM
- render
 - unstable_batchedUpdates
 
 - 
Virtual DOM
- DOM-DIFF
 
 
安装
npm i -S @careteen/react使用方式和react一样
// TODOclone仓库并引入依赖
git clone [email protected]:careteenL/react.git
npm install开始开发:)
...
启动本地服务器编写示例
npm run example