Custom server support for TanStack Start #3777
TrevorBurnham
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
I think this is needed. I want to use rust as a backend, so it'd be great to integrate with custom server. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is also a requirement in our investigation for a nytimes.com framework replacement. A custom server is a must for enterprise sites. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm considering migrating a project from Next.js to TanStack Start, but I've hit a roadblock: I'm running Next.js behind an Express.js server for various middleware, which Next.js makes straightforward with their custom server feature. I don't see any analogous way to run TanStack Start within an existing Node.js process.
This may be a limitation of Vinxi, which can be started programatically but doesn't have any way to route calls to it programmatically AFAICT. Perhaps this feature could be added to the roadmap as a goal to achieve when moving away from Vinxi?
My use case may be a bit niche, but I imagine that being able to run behind Express.js would make gradual migration away from Next.js easier for lots of folks: You could have Express.js send requests for supported routes to TanStack Query and send all other requests to the old Next.js server as a fallback.
Beta Was this translation helpful? Give feedback.
All reactions