Under-the-hood-ReactJS

Entire React code base explanation by visual block schemes (Stack version)

Github星跟踪图

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" as much as possible, so I started codecrumbs project. It will help to build projects like "Under the hood ReactJs" in shorter time.

Read in the best format from github-pages website.

Feel free to open an issue regarding any ideas you have to make it better.

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.

Fiber

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

  1. Intro [TODO]

Languages

主要指标

概览
名称与所有者Bogdan-Lyashenko/Under-the-hood-ReactJS
主编程语言JavaScript
编程语言CSS (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2017-06-22 20:46:16
推送于2022-04-25 11:06:33
最后一次提交2021-05-09 10:26:25
发布数0
用户参与
星数6.6k
关注者数160
派生数608
提交数174
已启用问题?
问题数18
打开的问题数5
拉请求数15
打开的拉请求数2
关闭的拉请求数5
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?