MCPcopy Create free account
hub / github.com/Bogdan-Lyashenko/Under-the-hood-ReactJS

github.com/Bogdan-Lyashenko/Under-the-hood-ReactJS @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
64 symbols 158 edges 5 files 0 documented · 0% updated 4y ago★ 6,7735 open issues

Browse by type

Functions 64 Types & classes 0
What it actually does AI analysis from the code graph — generated when you open this
loading…
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

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 64

Languages

TypeScript100%

Modules by API surface

stack/presentation/lib/anime.min.js38 symbols
stack/presentation/lib/impress.js22 symbols
stack/presentation/js/app.js4 symbols

For agents

$ claude mcp add Under-the-hood-ReactJS \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page