Ten Things About tree-shaking I Got Wrong
Corrections, and the mental models that replaced them. Covers the case most tutorials leave out.
Pin
Articles, guides and field notes on CSS, JavaScript, performance, accessibility and architecture.
120 articles 8 categories 75 topics
120 articles across 8 categories and 75 topics.
Corrections, and the mental models that replaced them. Covers the case most tutorials leave out.
PinOld assumptions, new constraints, and a proposal that has been working in production. Covers the case most tutorials leave out.
PinWhat broke, what we measured, and the architectural change that fixed it. Includes the benchmark we used to settle the argument.
PinCorrections, and the mental models that replaced them. Covers the case most tutorials leave out.
PinExplains how dark-mode actually behaves, what changed recently, and where the old advice still holds. Covers the case most tutorials leave out.
PinOld assumptions, new constraints, and a proposal that has been working in production. Covers the case most tutorials leave out.
PinWhat the framework was doing for you, and what you can do yourself. Ends with the checklist we now run before every review.
PinThe shortest honest path from blank file to working implementation. Every example runs in the browser with no build step.
PinA task-oriented walkthrough with working examples you can copy into a real project. Compares the two approaches we tried.
PinPatterns, anti-patterns, and the questions to ask before you commit to a direction. Includes the measurements that changed our approach.
PinWhat broke, what we measured, and the architectural change that fixed it. Includes the benchmark we used to settle the argument.
PinWhat the framework was doing for you, and what you can do yourself. Explains the reasoning, not just the syntax.
PinOld assumptions, new constraints, and a proposal that has been working in production. Calls out the assumptions that quietly stopped holding.
PinThe shortest honest path from blank file to working implementation. Includes the benchmark we used to settle the argument.
PinExplains how cdn actually behaves, what changed recently, and where the old advice still holds. Ends with what we would do differently today.
PinAn approach that trades a little power for a lot of clarity. Includes the benchmark we used to settle the argument.
PinOld assumptions, new constraints, and a proposal that has been working in production. Includes the benchmark we used to settle the argument.
PinA repeatable process for isolating the cause, with the tools that actually help. Shows the failure mode that made us rewrite it.
PinExplains how aria actually behaves, what changed recently, and where the old advice still holds. Includes the measurements that changed our approach.
PinA repeatable process for isolating the cause, with the tools that actually help. Includes a short section on debugging it.
PinAn approach that trades a little power for a lot of clarity. Includes the before-and-after numbers from our own codebase.
PinA task-oriented walkthrough with working examples you can copy into a real project. Works the same way in every current browser.
PinThe trade-offs behind a technique that appears simple in isolation. Ends with what we would do differently today.
PinWhat the framework was doing for you, and what you can do yourself. Includes a short section on debugging it.
PinCovers the subtle behaviours that pass every test and then break in production. Written after three production incidents with the same root cause.
PinCorrections, and the mental models that replaced them. Every example runs in the browser with no build step.
PinWhat broke, what we measured, and the architectural change that fixed it. Covers the case most tutorials leave out.
Pin