SSR Docs incomplete? What todo with `main.tsx`
I used this guide to migrate: https://tanstack.com/router/latest/docs/framework/react/migrate-from-react-router
Worked great! However, now I want SSR to have param specific open graph and twitter images. The guide for SSR lets me create a
entry-client.tsx
and a entry-server.tsx
however in my vite world i just have main.tsx
and unsure where to continue. This is a missing part in the docs I think.
https://tanstack.com/router/latest/docs/framework/react/guide/ssrMigration from React Router Checklist | TanStack Router React Docs
If your UI is blank, open the console, and you will probably have some errors that read something along the lines of cannot use 'useNavigate' outside of context . This means there are React Router api...
SSR | TanStack Router React Docs
Server Side Rendering (SSR) is the process of rendering a component on the server and sending the HTML markup to the client. The client then hydrates the markup into a fully interactive component. The...
0 Replies