Topic
Performance
30 articles on Performance — each with a runnable playground and a quiz.
Articles
JavaScriptStop importing
Aug 8 · 4 min CSSYour browser renders everything, even what you can't see —
Aug 4 · 5 min JavaScriptYou're watching
Jul 26 · 4 min JavaScriptYour scroll listener fires on every pixel.
Jul 19 · 4 min
Stop importing uuid. crypto.randomUUID() has been native since 2021.
Aug 8 · 4 min CSSYour browser renders everything, even what you can't see — content-visibility: auto fixes that
Aug 4 · 5 min JavaScriptYour UI is freezing because you never gave the browser a break
Aug 3 · 5 min JavaScriptArray methods are eager. Iterator helpers are lazy. Here's why that matters.
Jul 30 · 5 min JavaScriptYou're watching window to detect element size changes. ResizeObserver watches the element itself.
Jul 26 · 4 min JavaScriptYour scroll listener fires on every pixel. IntersectionObserver fires when visibility actually changes.
Jul 19 · 4 min page 3 of 3