Topic
Performance
30 articles on Performance — each with a runnable playground and a quiz.
Articles
JavaScriptYou're Blocking Scroll by Default.
Nov 6 · 5 min JavaScriptYou're Letting the Browser Guess.
Oct 21 · 5 min JavaScriptStop Letting One Widget Reflow the Whole Page.
Oct 16 · 6 min JavaScript
Stop Shipping Search Boxes With a Race Condition
Nov 7 · 6 min JavaScriptYou're Blocking Scroll by Default. passive: true Fixes It.
Nov 6 · 5 min JavaScriptYour Canvas Is Freezing the Page. OffscreenCanvas Fixes That.
Nov 3 · 6 min CSSfont-display: swap Fixes Invisible Text. It Also Shifts Your Layout.
Oct 29 · 6 min JavaScriptYou're Debouncing Scroll Wrong. requestAnimationFrame Fixes It.
Oct 26 · 5 min PerformanceYou're Letting the Browser Guess. fetchpriority Fixes That.
Oct 21 · 5 min JavaScriptYour 'Expand All' Button Is Quietly Causing Layout Thrashing
Oct 19 · 5 min CSSStop Letting One Widget Reflow the Whole Page. contain Scopes It.
Oct 16 · 6 min JavaScriptStop Electing a Leader Tab. SharedWorker Just Holds the Connection.
Oct 15 · 6 min JavaScriptYou Installed a Library for Numbers PerformanceObserver Already Has.
Oct 14 · 7 min JavaScriptYour Tabs Each Open Their Own WebSocket. navigator.locks Elects One.
Oct 13 · 6 min JavaScriptI Shipped a Fix. My Service Worker Kept Serving the Bug.
Oct 12 · 6 min page 1 of 3