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

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

# Posts — page 4 of 5

- [Design a TypeScript SDK with Multiple Entry Points Without Breaking Imports](https://bfzli.com/design-a-typescript-sdk-with-multiple-entry-points-without-breaking-imports.md) — How to publish a typed SDK with subpath exports, preserved types, and stable import paths for ESM and CommonJS.
- [Remix Returns 405 Method Not Allowed When a Form Submits to the Wrong Route](https://bfzli.com/remix-returns-405-method-not-allowed-when-a-form-submits-to-the-wrong-route.md) — Why a Remix form posts to a route without an action and how route matching determines which loader or action runs.
- [Node Fails to Connect to localhost with ECONNREFUSED ::1 on a Local Server](https://bfzli.com/node-fails-to-connect-to-localhost-with-econnrefused-1-on-a-local-server.md) — Why Node tries IPv6 loopback first for localhost and how to match your server bind address to the resolved address.
- [React Native on Android Throws ReferenceError: window is not defined During Module Initialization](https://bfzli.com/react-native-on-android-throws-referenceerror-window-is-not-defined-during-module-initialization.md) — Why browser globals break during React Native startup on Android and how to move that code behind a native-safe boundary.
- [Bun Throws ERR_REQUIRE_ESM When a CommonJS File Loads an ESM Package](https://bfzli.com/bun-throws-err-require-esm-when-a-commonjs-file-loads-an-esm-package.md) — Why Bun hits ERR_REQUIRE_ESM on mixed module boundaries and how to make the import path match the package format.
- [Next.js Environment Variables Return Undefined in the Browser After Build](https://bfzli.com/next-js-environment-variables-return-undefined-in-the-browser-after-build.md) — Why process.env values disappear in client code after a Next.js production build, and how to expose the right variables safely.
- [Cloudflare Workers Reject POST Requests with a CORS Preflight Failure](https://bfzli.com/cloudflare-workers-reject-post-requests-with-a-cors-preflight-failure.md) — Return the right CORS headers from a Worker so browser preflight requests stop failing.
- [Deno Cron Tasks See DENO_ENV Undefined in Scheduled Runs](https://bfzli.com/deno-cron-tasks-see-deno-env-undefined-in-scheduled-runs.md) — Make scheduled Deno jobs read environment variables reliably instead of getting undefined at runtime.
- [Electron Throws Refused to Execute Inline Script When a Sandboxed Preload Loads Local HTML](https://bfzli.com/electron-throws-refused-to-execute-inline-script-when-a-sandboxed-preload-loads-local-html.md) — Fix CSP failures when Electron loads local HTML with a sandboxed preload and inline script blocked.
- [Next.js Hydration Mismatch: Random UUIDs Render Different HTML on Server and Client](https://bfzli.com/next-js-hydration-mismatch-random-uuids-render-different-html-on-server-and-client.md) — Fix hydration errors caused by non-deterministic UUIDs in server-rendered Next.js components.
