T
TanStack11mo ago
conscious-sapphire

loader and lazy loading routes? is it possbile?

Is there any way how to mix both loader and lazy loaded routes? I like route to be lazy loaded, but also, to fetch data in loader, so I can have prepared data already. I don't like to create, both file route and lazy route.
3 Replies
flat-fuchsia
flat-fuchsia11mo ago
you can use automatic code splitting
flat-fuchsia
flat-fuchsia11mo ago
TanStack | High Quality Open-Source Software for Web Developers
Headless, type-safe, powerful utilities for complex workflows like Data Management, Data Visualization, Charts, Tables, and UI Components.
From An unknown user
From An unknown user
conscious-sapphire
conscious-sapphireOP11mo ago
@Manuel Schiller Thanks, I've enabled the flag, I'll see how my migration will went!

Did you find this page helpful?