Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

Under-the-hood-ReactJS

> 前端框架
Open source

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

6.8K stars0 likes2 views
WebsiteGitHub

About

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

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.

  • Intro
  • Part 0
  • Part 1
  • Part 2
  • Part 3
  • Part 4
  • Part 5
  • Part 6
  • Part 7
  • Part 8
  • Part 9
  • Part 10
  • Part 11
  • Part 12
  • Part 13
  • Part 14

Fiber

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

  1. Intro [TODO]

Languages

  • Chinese
  • Korean

Issues· 8 open

View all issuesOpen on GitHub
  • #40

    Favicon Missing for Under-the-hood-ReactJS

    Updated Jan 14, 2024
  • #39

    Under the hood react js

    Updated Dec 8, 2023
  • #35

    Russian translation

    Updated Sep 17, 2019
  • #33

    Updates

    Updated Jul 12, 2018
  • #21

    Setting up the infrastructure.

    Updated Nov 2, 2017

> Tags

JavaScriptdebuggingfiberflowhood

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 23, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架