pomber /didact

A DIY guide to build your own React

★ 6,767⑂ 548👁 65⑃ 20● 36▤ 0
JavaScriptCreated 2017-04-12pomb.us/build-your-own-react/
6,767
stars
+0+-3+-3
548
forks
65
watchers
20
prs
36
issues
0
releases
–
discussions

README

Didact

 A DIY guide to build your own React

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

Snapshot: 2026-11-04T14:00:00Z · Data license Apache-2.0 · JSON