I'm hoping someone can answer the question here: https://github.com/TanStack/router/discussions/3777
Will the move away from Vinxi open up a world where we can use a custom server with Start? Is that in the cards at all?
8 messages · Page 1 of 1 (latest)
I'm hoping someone can answer the question here: https://github.com/TanStack/router/discussions/3777
Will the move away from Vinxi open up a world where we can use a custom server with Start? Is that in the cards at all?
should already be possible with the node preset I suppose?
I was curious about that and tried a custom nitro preset, while it does work it is just for production build, is not preset for development making it much less useful
what do you mean exactly?
none of the presets are for dev
so we would need a different way for the dev server
I believe @sacred hawk is asking for an equivalent of react-router's createRequestHandler to allow using a customs server both in production and in development like in the react-router-hono-server project by exposing a custom vite dev server (via a vite plugin) to handle MHR and having the same server in dev
Another interesting example is epic stack using react-router 7 vite with and an express server
The simplest is probably https://github.com/remix-run/react-router-templates/tree/main/node-custom-server
Also curious about this