TanStackT
TanStack10mo ago
10 replies
nursing-lime

Is is possible to do ssr without vinxi?

Hey team, I plan on moving this webapp: https://utc.dance to tanstack start.

I initialized the project from the shadcn website which had set me up with vite instead of with vinxi. My understanding is that vinxi is used for server-side stuff but it's soon going to get replaced, so I'm okay with the choice it made for me.

I also looked at the example project for ssr and see that it does not require vinxi for ssr, but requires express, node-fetch, serve-static, etc. for development. I'm not sure about jumping into it with all the setup because of this issue: https://github.com/TanStack/router/issues/3195

What is currently the best way to do ssr right now? The doc listed here: https://tanstack.com/start/latest/docs/framework/react/ssr
seems to be lacking a lot of setup compared to the ssr example and when I checked was not server-rendering.

Thank you for the help.
GitHub
Which project does this relate to? Start Describe the bug This example crashes the dev server: https://tanstack.com/router/latest/docs/framework/react/examples/basic-ssr-streaming-file-based Termin...
Docs: SSR streaming example error · Issue #3195 · TanStack/router
Server-side rendering (SSR) is the process of rendering your application on the server and sending or streaming the rendered HTML to the client. This can be useful for both improving the performance o...
SSR | TanStack Start React Docs
Was this page helpful?