Skip to content
Discussion options

You must be logged in to vote

They solve different layers, so it's less "switch from rewrites" and more "what do you want your local dev to look like":

The key distinction: Turborepo's built-in microfrontends.json proxy is local dev only. Next rewrites run in production. So if you're not deploying on Vercel, you'll still need rewrites (or an edge/reverse proxy) in prod either way.

What you gain locally:

  • Your host app stops being a router. With rewrites, every request to a child zone goes through the parent app's dev server, so it always has to be running. The Turbo proxy (default localhost:3024) sits in front of all apps and routes by path, so you can run just the zone you're working on. If the other apps' routes sti…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by anthonyshew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants