Skip to content
// writing

Posts tagged #javascript

A mix of technical deep-dives, career reflections, and dispatches from the road.

React Fragment Refs: Attach Behavior Without the Wrapper Div thumbnail
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 →
Svelte Error Boundaries: Contain the Crash Instead of Losing the Page thumbnail
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 →
Dependency Cooldowns: Make Your Package Manager Wait Before It Trusts New Code thumbnail
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 →
Map.getOrInsert: Stop Writing the has/get/set Dance thumbnail
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 →
Astro Live Content Collections: Fresh CMS Data Without a Rebuild thumbnail
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 →
Uint8Array toBase64 and toHex: Stop Round-Tripping Bytes Through btoa thumbnail
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 →
import defer: Lazy Modules Without Going Async thumbnail
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 →
WebNN: The Only Web API That Can Reach Your NPU thumbnail
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 →
Svelte Snippets: Reuse Markup Without a New Component thumbnail
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 →
Async Svelte: Using await Directly in Your Components thumbnail
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
Don't miss the next one