MIT License

项目介绍

Bogdan-Lyashenko/Under-the-hood-ReactJS 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 MIT License 许可证,目前获得 6.8k 个 Star、614 次 Fork。

仓库全名
Bogdan-Lyashenko/Under-the-hood-ReactJS
开源许可证
MIT License
Star 数
6.8k
Fork 数
614
未关闭 Issue
8

README 摘要

Under the hood: React This repository contains an explanation of inner work of React. In fact, I was debugging through the entire code base and put all the logic on visual block-schemes, analyzed them, summarized and explained main concepts and approaches. I've already finished with Stack version and now I work with the next, Fiber version. I wanted to automate process of "learning and documenting" a complex…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Under-the-hood-ReactJS 用什么语言开发?

主要使用 JavaScript 编写,采用 MIT License 许可证,目前有 6.8k 个 Star。

Under-the-hood-ReactJS 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 Under-the-hood-ReactJS 的源码?

可以直接克隆仓库:git clone https://github.com/Bogdan-Lyashenko/Under-the-hood-ReactJS.git,默认分支为 master;安装与运行步骤见仓库 README。

Under-the-hood-ReactJS 最近还在维护吗?

仓库最近一次更新为 2022年4月25日,当前有 8 个未关闭 Issue;Star 数为 6.8k,可作为社区活跃度的参考。

README

Under the hood: React

This repository contains an explanation of inner work of React. In fact, I was debugging through the entire code base and put all the logic on visual block-schemes, analyzed them, summarized and explained main concepts and approaches. I’ve already finished with Stack version and now I work with the next, Fiber version.

I wanted to automate process of “learning and documenting” a complex codebase as much as possible, so I started Codecrumbs project. It will help to build projects like “Under the hood ReactJs” in a shorter time and in a simpler way!

Each scheme is clickable and can be opened in a new tab, use that to zoom it and be able to read from it. Keep the article and a scheme you are reading about at that moment in separate windows (tabs), that will help to match text and code flow easier.

We are gonna talk here about both React versions, current one with Stack reconciler and the next one with Fiber (as you probably know, the next version of React will be released soon), so, you can understand better how current React works and appreciate huge achievements on React-Fiber. We use React v15.4.2 for explaining how ‘legacy React’ works and React v16..** for ‘Fiber’. Let’s start from old (I have fun to say that) stack version.

Stack reconciler

The entire scheme is divided into 15 parts, let’s get started.

Read in the best format from github-pages website.

Fiber

Will be done with a help of js-code-to-svg-flowchart tool later.

  1. Intro [TODO]

Languages

评论

暂无评论