Replies: 1 comment 1 reply
-
https://tanstack.com/router/latest/docs/framework/react/guide/code-splitting#after It looks like you can have two config in one time: posts.tsx and posts.lazy.tsx e.g. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We would like to utilize lazy routes to reduce the size of the initial bundle but
createLazyFileRoute
has significantly less options thancreateFileRoute
. Specifically, the hooks likeonEnter
, validating search params, etc. How do you get the best of both worlds?Beta Was this translation helpful? Give feedback.
All reactions