该源代码是基于 creat-react-app 开发的一个只负责渲染 和 部分 生命周期的函数,意在学习 react 的大概渲染流程
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
- react # react code source
- component # React.Component module
- element # React.createElement function
- unit # React render base markup(tag)
- index.js # entry file of create-react-app