The development branch is the basic branch that contains the true React, while the master branch is completed.
You can learn based on the development branch combined with documentation. If you encounter problems, you can switch to the master branch to view the complete code.
develop 分支是包含了真正的React 的基础分支,master 分支是完成完成。 你可以基于develop 分支结合文档进行学习,如果遇到问题可以切换到 master分支查看完整代码。
This repository goes together with a series of posts that explains how to build React from scratch step by step. You can jump straight to the last post which is self-contained and includes everything.
Blog Post | Code sample | Commits | Other languages |
---|---|---|---|
Introduction | |||
Rendering DOM elements | codepen | diff | 中文 |
Element creation and JSX | codepen | diff | 中文 |
Virtual DOM and reconciliation | codepen | diff diff diff | 中文 |
Components and State | codepen | diff | 中文 |
Fiber: Incremental reconciliation (self-contained post) | codepen | diff diff | 中文 |
The one with Hooks (self-contained post) | codesandbox | 中文 |
Follow @pomber on twitter for updates.
The MIT License (MIT)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。