Question about SSR with Tanstack Router & Without Tanstack Start
I've made an application using Tanstack Query & Tanstack Router, which on the backend uses Kotlin. Now,I have a situation that I would like to add SSR to my application.
From what i understand, using Tanstack Start would require quite a refactor and would be awkward to have with my Kotlin backend. I've also seen on the docs for Tanstack Query a guide for integrating with NextJS, but on the router docs it seems to discourage using NextJS.
So i just wanted to ask, what might be the best path to go for SSR? I'd ideally like to preserve the kotlin backend and have it handle the business logic, is there any possibility?
Its my first experience with SSR so i've been bumbling around options but i can't tell which way to go.