---
title: "Posts — Page 3 - Benjamin"
description: "A place where I share my thoughts and learnings 💭 Page 3 of 5."
url: "/page/3"
canonical_url: "https://bfzli.com/page/3"
source_url: "https://bfzli.com/page/3.md"
type: "prose"
updated: "2026-09-07"
---

> Markdown copy of https://bfzli.com/page/3. Append `.md` to any page path on bfzli.com for its markdown twin. Full index: https://bfzli.com/llms.txt

# Posts — page 3 of 5

- [Next.js App Router Serves Stale Data Because a Server Component Fetch Is Cached](https://bfzli.com/next-js-app-router-serves-stale-data-because-a-server-component-fetch-is-cached.md) — 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](https://bfzli.com/react-native-fails-to-bundle-when-a-shared-module-imports-node-built-ins.md) — 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](https://bfzli.com/point-a-custom-domain-at-cloudflare-pages-without-leaving-the-site-on-the-default-subdomain.md) — 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](https://bfzli.com/sveltekit-throws-referenceerror-document-is-not-defined-during-server-side-rendering.md) — 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](https://bfzli.com/cloudflare-pages-functions-read-undefined-environment-variables-at-runtime.md) — Make Cloudflare Pages Functions see bound secrets and vars instead of undefined values.
- [Next.js Cannot Optimize Images from an Unconfigured Remote Host](https://bfzli.com/next-js-cannot-optimize-images-from-an-unconfigured-remote-host.md) — 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()](https://bfzli.com/hono-cannot-read-c-req-param-after-a-middleware-forgets-next.md) — 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](https://bfzli.com/cloudflare-workers-fail-with-typeerror-body-has-already-been-used-for-request.md) — 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](https://bfzli.com/express-returns-req-body-undefined-when-json-middleware-runs-too-late.md) — 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](https://bfzli.com/deploying-a-static-site-to-github-pages-breaks-asset-urls-under-a-repository-path.md) — Why a site works locally but 404s on GitHub Pages when assets resolve from the domain root instead of the repo path.
