TanStackT
TanStack9mo ago
9 replies
brilliant-lime

Lazy loading routes with "virtual file routes"

I am trying to make one of my routes component lazy loaded but don't know what to follow from the docs
https://tanstack.com/router/latest/docs/framework/react/guide/code-splitting
like if I have route with loader what should follow from the docs ?
Code splitting and lazy loading is a powerful technique for improving the bundle size and load performance of an application. Reduces the amount of code that needs to be loaded on initial page load Co...
Code Splitting | TanStack Router React Docs
Was this page helpful?