TanStackT
TanStack10mo ago
4 replies
sad-indigo

CSR at a component level vs a route level?

Is it possible to only CSR certain components? I know you can do it at the route level in the createFileRoute({ssr: false}), but wondering if certain components could be excluded. I need to load in data from local storage to be used in a component, but it can be loaded in after a server render. I would like to avoid using a useEffect hook, if possible.
Was this page helpful?