Combine SSR and Static Prerendering in the same route?
I wonder how static prerendering works.
I have an app where I use all the features from Router+Start. several pages, nested routes, dynamic segments, data loading, prefetching queries in loader, integration with tanstack query, suspense boundary, ... etc.
When I turn on prerendering for most of the pages, what actually happens? From top of my head I see 3 possible ways:
1. TanStack just throws those files in some output folder, but actually does not make use of them when using the server. So we need to take them and upload somewhere and integrate with othere dynamic pages.
2. TanStack servers prerendered pages form the server to the user. The page contains build-time data. But hydrates the page after on a client and allows to refetch data from a client.
3. TanStack prerenders only unsuspended parts of the page with fallbacks. And server streams in the suspended part on reqest-time. Like partial prerendering in Next.js
Or does it work differently?
AFAIK there is nothing that specific in the docs.
Thank you for helping to understand.