/didact

A DIY guide to build your own React

Primary LanguageJavaScript

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 post) codepen diff diff 中文
The one with Hooks (self-contained post) codesandbox 中文

Follow @pomber on twitter for updates.

License

The MIT License (MIT)