

Supper Club × Make React 70% Faster! Million.js with 18 Year Old Aiden Bai
Aug 25, 2023
Aiden Bai, an 18-year-old developer, created Million.js—a library aimed at making React apps up to 70% faster. He discusses how Million.js enhances performance through innovative reconciliation techniques and the challenges in developing a compiler. Aiden also shares insights on managing GitHub issues in open-source projects while keeping user experience at the forefront. Additionally, he reflects on his creative journey that blends nostalgia with web design, inspired by VCRs and the Y2K aesthetic.
AI Snips
Chapters
Transcript
Episode notes
Million.js Overview
- Million.js replaces React's virtual DOM for faster rendering.
- It optimizes the reconciliation process, unlike other libraries that focus on rendering or memoization.
React Rendering Explained
- React renders by running components, calculating data, and returning JSX.
- Reconciliation diffs current JSX with the page and updates differences using a virtual DOM.
Million.js Optimization
- Million.js uses a compiler to locate data in JSX, enabling direct DOM updates.
- This avoids diffing the entire virtual DOM, resulting in faster updates like SolidJS.