A Practical Guide to tree-shaking
A task-oriented walkthrough with working examples you can copy into a real project. Compares the two approaches we tried.
Pin18 articles by Elena Marchetti.
A task-oriented walkthrough with working examples you can copy into a real project. Compares the two approaches we tried.
PinWhat broke, what we measured, and the architectural change that fixed it. Includes the benchmark we used to settle the argument.
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.
PinWhat the framework was doing for you, and what you can do yourself. Includes a short section on debugging it.
PinWhat broke, what we measured, and the architectural change that fixed it. Covers the case most tutorials leave out.
PinCovers the subtle behaviours that pass every test and then break in production. Written after three production incidents with the same root cause. (2)
PinCovers the subtle behaviours that pass every test and then break in production. Every example runs in the browser with no build step.
PinAn approach that trades a little power for a lot of clarity. Includes the benchmark we used to settle the argument. (2)
PinWhat broke, what we measured, and the architectural change that fixed it. Explains the reasoning, not just the syntax.
PinExplains how security actually behaves, what changed recently, and where the old advice still holds. Explains the reasoning, not just the syntax.
PinExplains how svg actually behaves, what changed recently, and where the old advice still holds. Written after three production incidents with the same root cause.
PinOld assumptions, new constraints, and a proposal that has been working in production. Includes the before-and-after numbers from our own codebase.
PinThe trade-offs behind a technique that appears simple in isolation. Written after three production incidents with the same root cause.
PinA repeatable process for isolating the cause, with the tools that actually help. Calls out the assumptions that quietly stopped holding.
PinA repeatable process for isolating the cause, with the tools that actually help. Ends with what we would do differently today.
PinThe shortest honest path from blank file to working implementation. Reflects two years of running this in production. (2)
PinCovers the subtle behaviours that pass every test and then break in production. Reflects two years of running this in production.
Pin