TanStackT
TanStack8mo ago
19 replies
worthy-azure

All modules from other routes loaded

Perhaps I made a wrong assumption but let's say I have a route /auth and /dashboard and /settings.

Currently when I load /auth on development it loads ALL modules defined in the route files from /auth + /dashboard and /settings. Is this intended? I was expecting it to not to load the /dashboard and /settings chunks.

Or is the recommended way to move the route component to another file?
Was this page helpful?