[Feature?]: Add an option to disable lazy loading in <FileRoutes />
#1575
Labels
enhancement
New feature or request
<FileRoutes />
#1575
Duplicates
Latest version
Summary 💡
currently,
FileRoutes
lazy-loades all routes by default which is sometimes undesired.Adding a
sync
option (that isfalse
by default) or aasync
option to enable lazy loading (that isfalse
by default) toFileRoutes
to disable lazy loading all routes will fix that.even better, this could be decided for each route separately.
Examples 🌈
a workaround is using custom
<Route />
s instead of using<FileRoutes />
:Motivation 🔦
No response
The text was updated successfully, but these errors were encountered: