How to use Static Prerendering + SPA - TanStack