#javascript
8 articles
Why `.length` Is Wrong for Strings in JavaScript — and How Intl.Segmenter Fixes It Stop Writing try/catch — Your TypeScript Errors Deserve Types Stop Using Booleans Everywhere — Use Union Types Instead Why I Stopped Using Enums in TypeScript (I Use `as const` Instead) You Don't Need Zustand: useSyncExternalStore Is All You Need Why I Stopped Building My JavaScript Framework After 1,500 Lines of Spec 3/3 I Built a Reactive Compiler for JavaScript — Here's Where It Broke 2/3 I Designed a Web Framework That Replaces React Hooks With Two Imports 1/3