vite-ssr-boost adds SSR and streaming to an existing Vite + React Router app in Data mode, without moving to Framework mode. Before 8.7 the managed server was Express. Version 8.7 adds a second option for dev and start : a server built on node:http , with a graceful drain and opt-in health probes. Express is still the default.
Install 8.7.1 rather than 8.7.0: the patch fixes the drain bug described below. The package requires Node 22.12 or later.
Switching the managed server
One option in the Vite config:
// vite.config.ts SsrBoost ( { managedServer : 'node' } ) ;
Enter fullscreen mode
Exit fullscreen mode
Or per command: ssr-boost dev --server node and ssr-boost start --server node .
ssr-boost build writes the choice to build/server/ssr-boost.json , and start reads it back; --server node|express overrides the recorded value. When start runs the node server, the process loads neither Vite nor Express.…