May 18, 2026
React Internals Hands-On
A practical walkthrough of how React reconciles updates, schedules work, and why that matters when you profile a real app.
2 min read
Writing on engineering, product craft, and lessons from building on the web.
May 18, 2026
A practical walkthrough of how React reconciles updates, schedules work, and why that matters when you profile a real app.
2 min read
Mar 19, 2026
JavaScript is single-threaded, but it can run many async tasks at once. Here is the simple mental model for event loop, queues, and promise timing.
3 min read
Mar 19, 2026
Lazy-loading defers code/data download; conditional rendering decides whether a component instance exists. The difference impacts network, effects, and state.
4 min read
Mar 4, 2026
Implement a minimal Redux-style store from scratch: getState, dispatch, subscribe, and reducers. Understand how global state works and when to use it in real apps like todos or carts
6 min read
Mar 3, 2026
Compound components shouldn't receive state and callbacks through props. They read from a shared context so the same UI works with different state sources - local, global, or server.
2 min read
Mar 3, 2026
Stop piling boolean and config props onto one component. Let consumers compose the pieces they need - fewer props, clearer intent, and code that scales.
2 min read