#Will Tanstack Start support a custom server?

8 messages · Page 1 of 1 (latest)

sacred hawk
vale pawn
#

should already be possible with the node preset I suppose?

proud oar
vale pawn
#

what do you mean exactly?

#

none of the presets are for dev

#

so we would need a different way for the dev server

proud oar
#

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

vagrant rampart
#

Also curious about this