Ten Things About tree-shaking I Got Wrong
Corrections, and the mental models that replaced them. Covers the case most tutorials leave out.
Pin9 articles on tree-shaking.
9 articles
Corrections, and the mental models that replaced them. Covers the case most tutorials leave out.
PinA task-oriented walkthrough with working examples you can copy into a real project. Compares the two approaches we tried.
PinThe shortest honest path from blank file to working implementation. Ends with the checklist we now run before every review.
PinThe shortest honest path from blank file to working implementation. Written after three production incidents with the same root cause.
PinWhat broke, what we measured, and the architectural change that fixed it. Covers the case most tutorials leave out. (2)
PinWhat the framework was doing for you, and what you can do yourself. Shows the failure mode that made us rewrite it.
PinThe trade-offs behind a technique that appears simple in isolation. Compares the two approaches we tried.
PinAn approach that trades a little power for a lot of clarity. Reflects two years of running this in production.
PinWhat broke, what we measured, and the architectural change that fixed it. Every example runs in the browser with no build step.
Pin