Hello, I'm Benjamin 👋
A curious software engineer based in Skopje, North Macedonia, solving engineering problems, building products people use, and sharing what I learn along the way.
-
Next.js App Router Serves Stale Data Because a Server Component Fetch Is Cached
Next.js can reuse a server component fetch result unless you set the right cache mode or revalidation behavior.
-
React Native Fails to Bundle When a Shared Module Imports Node Built-ins
Metro stops bundling when shared code pulls in fs, path, or crypto that the React Native runtime cannot provide.
-
Point a Custom Domain at Cloudflare Pages Without Leaving the Site on the Default Subdomain
Cloudflare Pages stays on the generated pages.dev hostname until DNS and the Pages custom domain are configured together.
-
SvelteKit Throws ReferenceError: document is not defined During Server-Side Rendering
SvelteKit SSR crashes when a component touches document before the browser runs it; isolate browser-only code and gate it behind client checks.
-
Cloudflare Pages Functions Read undefined Environment Variables at Runtime
Make Cloudflare Pages Functions see bound secrets and vars instead of undefined values.
-
Next.js Cannot Optimize Images from an Unconfigured Remote Host
Configure next/image so remote images stop failing with host validation and optimization errors.
-
Hono Cannot Read c.req.param() After a Middleware Forgets next()
Fix missing route params in Hono by preserving middleware flow and route context.
-
Cloudflare Workers Fail with TypeError: Body has already been used for Request
Understand why a consumed Request body cannot be read twice in Workers and how to clone or buffer it safely.
-
Express Returns req.body Undefined When JSON Middleware Runs Too Late
Fix req.body staying undefined in Express by placing JSON parsing middleware before your route handlers.
-
Deploying a Static Site to GitHub Pages Breaks Asset URLs Under a Repository Path
Why a site works locally but 404s on GitHub Pages when assets resolve from the domain root instead of the repo path.