MuYunyun / cpreact

Build React from Scratch :tada:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
  • exports
  • 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.

About

Build React from Scratch :tada:

License:MIT License


Languages

Language:JavaScript 99.8%Language:HTML 0.2%