Skip to content
Discussion options

You must be logged in to vote

the section above that is the most relevant one for you: https://tanstack.com/router/latest/docs/framework/react/guide/code-splitting#example-code-splitting-with-lazytsx

and yes, you create 2 files in that case.
alternatively, you could also enable automatic code splitting so you don't have to do anything manually.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@schiller-manuel
Comment options

Answer selected by kyusungpark
@kyusungpark
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants