December 3, 2026
WordPress: add a “Load more posts” button without reloading the page (REST API and fetch)
A "Load more" button on a WordPress archive page, done properly: a REST route that returns the card HTML, accessible JavaScript, and…
// blog
December 3, 2026
A "Load more" button on a WordPress archive page, done properly: a REST route that returns the card HTML, accessible JavaScript, and…
November 26, 2026
Upload a file without reloading the page, properly: FormData, type and size checks, image preview, a reliable progress bar and PHP handling,…
November 22, 2026
Four ways to combine promises, four different reactions to a failure. When to use Promise.all, Promise.allSettled, Promise.race and Promise.any, with realistic fetch-based…
November 13, 2026
Why the try/catch around your fetch() call never sees a 404 or a 500, and how to write complete error handling: HTTP…
November 6, 2026
Firing a request on every keystroke means a dozen calls per word and results arriving out of order. Debounce, cancel outdated requests,…
October 23, 2026
A live search that sometimes shows results for an older query is a request that should have been cancelled. AbortController fixes it…