The Tiny Proxy That Fixed Local Development for Our Multi-Repo Frontend (opens in new tab)
This article is a follow-up to From Independent Microsites to Context-Driven Architecture, where we explain why we split our frontend into multiple independent Next.js repositories. If you'd rather explore the code before reading the architecture behind it, a small demo is available here: The Problem Everyone in a Micro-Frontend Setup Hits Your production environment has a smart edge router: Akamai, Cloudflare, nginx, whatever, that maps URL paths to different frontend applications: /search →...
Read the original article