Sometimes the best way to understand something is to build your own version!
Some of these articles are quite old but as they mainly focus on the core concepts they are still valid today
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|
|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 post)||codepen||diff diff||中文|
|The one with Hooks (self-contained post)||codesandbox||中文|
Follow @pomber on twitter for updates.
The MIT License (MIT)
Sign up to our free weekly newsletter and stay in the loop with the latest and greatest web development projects on GitHub at www.iainfreestone.com