Topic
Programming
20 articles on Programming — each with a runnable playground and a quiz.
Articles
JavaScriptYour
Nov 10 · 5 min JavaScriptMy Reducer's Switch Stopped Being Exhaustive.
Oct 25 · 7 min JavaScriptStop Formatting Currency With Regex.
Oct 20 · 5 min TypeScript
My Duration Formatter Broke in French. Intl.DurationFormat Doesn't.
Nov 15 · 7 min JavaScriptYour setTimeout(fn, 0) Doesn't Run Next. queueMicrotask Does.
Nov 10 · 5 min JavaScriptStop Shipping Search Boxes With a Race Condition
Nov 7 · 6 min JavaScriptgetCurrentPosition() Has No Default Timeout. That's the Trap.
Nov 4 · 6 min CSSStop Hardcoding Color Variants. Relative Color Syntax Does It.
Nov 1 · 7 min JavaScriptStop Calling form.submit(). Use requestSubmit() Instead.
Oct 28 · 6 min JavaScriptYou're Debouncing Scroll Wrong. requestAnimationFrame Fixes It.
Oct 26 · 5 min TypeScriptMy Reducer's Switch Stopped Being Exhaustive. as const Fixed It.
Oct 25 · 7 min JavaScriptStop Formatting Currency With Regex. Intl.NumberFormat Does It.
Oct 20 · 5 min TypeScriptInferred Type Predicates Won't Save filter(Boolean). Here's What Will.
Oct 17 · 5 min JavaScriptYou Installed a Library for Numbers PerformanceObserver Already Has.
Oct 14 · 7 min JavaScriptYour Lighthouse Score Is 100. Long Animation Frames Explain the Jank.
Oct 11 · 6 min page 1 of 2