one
one copied to clipboard
[Feature Request?]: Support for multi tenant architectures?
Sometimes for architectural reasons you need to structure your app with a domain and many subdomains:
- https://example.com
- https://app.example.com
- https://user.example.com
This is currently something feasible only in Next.js as even Remix does not support it natively.
Next.js leverages on his middleware to handle such a feature.
The question is, are you guys in plan to build a general middleware to handle this kind of solutions? This would be really a game changer for me and finally a way to move out from Next.js which is definitely became too complex to handle for simple stuff.
I would love to contribute in case.
Extra docs: https://vercel.com/guides/nextjs-multi-tenant-application
Wondering what would we need to add to middlewares to support this now that it's out:
https://onestack.dev/docs/routing-middlewares