-
-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration offramp examples for nextjs #3190
Comments
I think we will have to reverse the strategy. Next.js (remote) with Rsbuild/Rspack (host) Youd take your current host, make it a remote, and use a new host who actually works well to pull the legacy next app back into it. Next hosts are almost impossible to accept non next remotes. We would have to create share replacements/shims for link,router, etc - nextjs is a locked system and will only work with its own stuff. Any shim we create to try and reverse the order, Vercel will most likely try and break. Next.js is largely weaponized against federation, we have to assume its owner is hostile and act accordingly. |
I agree, this approach makes a lot of sense! Reversing the role of Next.js to act as a remote while using a host with better federation compatibility is a smart strategy, especially given the constraints of the Next ecosystem. |
Totally, ill work on something soon |
There are also some Tanstack examples in the works, with Tanstack Start coming along its a very interesting alternative as well. |
@zackarychapple do they work with SSR yet? |
Clear and concise description of the problem
With the change of next-mf status to maintenance, we noticed that it might be necessary to create examples for teams already considering migrating to other frameworks. I imagine that teams will make this transition gradually, so it would be helpful to consider a way for Next.js to interoperate with other frameworks, facilitating this change.
The examples could be organized by some recommended frameworks. Here are a few ideas:
...
Feel free to add more recommendations.
I believe these examples will be very helpful for those already thinking about migrating and will be of great value to the community.
Suggested solution
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: