#Can TanStack Router + Hono switch CSR/SSR per route?

6 messages · Page 1 of 1 (latest)

granite cosmos
#

Hello, I'm working on developing a service similar to ChatGPT.
I'm wondering whether it's possible to use TanStack Router + Hono so that some routes are handled with CSR while others use SSR.
I know that TanStack Start exists, but I don’t have the capacity to fully adopt and operate it.
My plan is to use CSR for most of the app and apply SSR only to a few necessary pages.

fringe obsidian
#

but I don’t have the capacity to fully adopt and operate it.
what do you mean by that?

granite cosmos
#

It's now beta version. I'm not sure use it to enterprise web app.

fringe obsidian
#

it's in release candidate stage with stable to follow hopefully soon

#

that aside, you can just use router for SSR yes

#

and select SSR / csr via the ssr:true/false prop per route