Cancelling Long Operations with AbortSignal
Beyond fetch, AbortSignal is now accepted by addEventListener, setTimeout, setInterval, and many Node APIs.The cleanest pattern: pass a signal to the constructor of a long-lived he…
Read article →Notes on JavaScript, PHP, WordPress, design, performance, and the practical side of shipping better digital products.
Topics covered
The blog is designed to support both technical readers and clients who want clearer language around scope, quality, and implementation decisions.
Beyond fetch, AbortSignal is now accepted by addEventListener, setTimeout, setInterval, and many Node APIs.The cleanest pattern: pass a signal to the constructor of a long-lived he…
Read article →URLPattern is a built-in matcher for URL paths and full URLs. new URLPattern({pathname: '/users/:id'}).exec(input) returns named groups without hand-rolled regex.It supports wildca…
Read article →TypeScript 5.0 shipped Stage 3 decorators that match the eventual JavaScript proposal. @logged on a method or @Component on a class works without the experimental…
Read article →Node 22 lets you mix CommonJS and ESM more freely. Set "type": "module" in package.json or use the .mjs extension and import just works.The require(esm)…
Read article →The Web Animations API gives JavaScript control over CSS animations with composition, playback, and timeline syncing. element.animate(keyframes, options) returns an Animation objec…
Read article →