昌维的思维链 — Practical notes on AI, systems, and engineering
Loading home content
Loading home content
1 articles in total
React 的 Fiber、Lane、Scheduler、Suspense 这些机制,一开始就把人劝退了。所以我写了个迷你实现 ez-react,把「一段 JSX 怎么变成页面上的 DOM、setState 为什么会重新渲染、diff 到底在 diff 什么」压缩到能读懂、能调试的规模。这篇先从 React 的基本工作原理讲起,再逐段对照 ez-react...