// writing
Posts tagged #javascript
A mix of technical deep-dives, career reflections, and dispatches from the road.
tag: #javascript

developmentOct 19, 2026· 4 min
React Fragment Refs: Attach Behavior Without the Wrapper Div
React 19.3 made Fragment refs stable. Here's how FragmentInstance lets you listen, observe, and move focus across a group of elements without adding a wrapper div or touching child components.
read more →

developmentOct 15, 2026· 4 min
Svelte Error Boundaries: Contain the Crash Instead of Losing the Page
One flaky widget shouldn't blank your whole app. Here's how Svelte's boundary element walls off failures, shows loading UI for await, and now works during server rendering too.
read more →

developmentOct 12, 2026· 4 min
Dependency Cooldowns: Make Your Package Manager Wait Before It Trusts New Code
npm, pnpm, Yarn, and Bun can all refuse package versions that are only hours old. Here's how each one's release-age gate works, why the units don't match, and where it bites in CI.
read more →

developmentOct 8, 2026· 3 min
Map.getOrInsert: Stop Writing the has/get/set Dance
Map and WeakMap now have getOrInsert and getOrInsertComputed, two methods that replace the check-then-set boilerplate every JavaScript codebase is full of.
read more →

developmentOct 5, 2026· 3 min
Astro Live Content Collections: Fresh CMS Data Without a Rebuild
Astro's live content collections fetch CMS and API data at request time with the same typed API as build-time collections, and Astro 7's route caching keeps them fast.
read more →

developmentSep 24, 2026· 3 min
Uint8Array toBase64 and toHex: Stop Round-Tripping Bytes Through btoa
JavaScript can finally turn bytes into base64 and hex (and back) without the String.fromCharCode and btoa dance. Here's how Uint8Array's new encoding methods work and where they replace the helpers you've been copy-pasting.
read more →

developmentSep 21, 2026· 3 min
import defer: Lazy Modules Without Going Async
ES2026's import defer evaluates a module the first time you touch its namespace, not at startup, so you can move heavy work off the cold path without turning half your call stack async.
read more →

developmentSep 14, 2026· 3 min
WebNN: The Only Web API That Can Reach Your NPU
Almost every laptop shipped in the last two years has a neural processing unit sitting idle. WebNN is the only web standard that can actually talk to it…
read more →

developmentSep 7, 2026· 3 min
Svelte Snippets: Reuse Markup Without a New Component
Snippets let you define reusable chunks of markup inline and render them like functions. They replace slots, kill the let: directive, and mean you stop…
read more →

developmentAug 30, 2026· 4 min
Async Svelte: Using await Directly in Your Components
Svelte 5.36 lets you use await at the top level of a component, inside $derived, and in your markup.
read more →
// the newsletter