SSR
Hello,
I started exploring this documentation: https://tanstack.com/router/latest/docs/framework/react/start/getting-started, as my previous projects were built with Next.js
I’d like to understand how to determine if a component is client-side, similar to how it’s done in Next.js using "use client" or "use server". By default, is all the code rendered using SSR? :yweirdfrog:
2 Replies
fascinating-indigo•10mo ago
by default yes, all is rendered using SSR for the initial load
then, for subsequent navigations, client side rendering happens
flat-fuchsiaOP•10mo ago
Alright, so I can code my components however I want. I absolutely don't need to code a separate component for it to be client-side rendered :yPepeHmmm: