一个实验性的demo,功能来自 react 15.0.0 版本 还在开发阶段 生产不建议用此轮子,推荐 react-lite.
git clone git@github.com:Mike-Zhu/mreact.git
yarn install
(babel-core version choice 7.1.4)
yarn start
now you can write your code in src
and anywhere
reactDom mountvnode mountvirturn-domvnode updatedestroy vNodelife-cycle- event-system(to be updated)
- props-patch(to be updated)
state-batchadd [propsChange, context]- add refs
- TEST