cpreact icon indicating copy to clipboard operation
cpreact copied to clipboard

Build React from Scratch :tada:

npm version LICENSE MIT

Phisolophy

  • 复现 React 的轴心
  • 支持现代浏览器

Implement React from 0 to 1

  • [ ] 性能测试
  • [ ] 沙盒中使用

更新日志

Usage

yarn install
yarn start

执行完上述命令后,会自动在浏览器 localhost:8080 上展示 hello,cpreact

Practice

Test Travel

以 preact 的测试用例为干线进行 TDD, 进度如下:

yarn test
  • [x] exports
  • [x] createElement
  • [ ] components
  • [ ] keys
  • [ ] lifecycle

Contribution

Welcome to contrubute this proj, you can read how to pr.

Thanks

Especially thank simple-reactpreactreact for the guidance function of this library.