From JavaScript to React
summary
Recreates a minimal React implementation in plain JavaScript that runs in the browser without JSX, using an index.js plus react.js and dom.js that mirror parts of the real React repo. Implements homemade createElement, render, a tiny module system, class components with setState-triggered re-rendering, basic lifecycle hooks, event binding, and children rendering, and demonstrates building, updating and logging lifecycle calls to show it works.
AI-written summary · about
chapters (6)
- 0:00JavaScript to React
- 3:16Learning frameworks fast
- 7:50React components from JS
- 13:54Render and DOM in React
- 22:55State and lifecycle
- 29:18Final thoughts








