Shared note
Software · L2 · Next.js: Middleware & Edge Runtime
How a single middleware.ts file intercepts requests before they reach a route, what it can and can't do on the Edge runtime, and how matcher scopes it.
We use privacy-friendly product analytics (no session recording, PII masked) to improve OpenStem. Load analytics? Privacy Policy