Do I have to use .lazy to code split in tanstack/start or does it do it automatically?
Does tanstack start automatically code split my routes or do I have to use .lazy? Even using static prerendering export?
3 Replies
foreign-sapphire•9mo ago
automatically
no need to use lazy
adverse-sapphireOP•9mo ago
so the .lazy is just if you're doing SPA with tanstack/router?
foreign-sapphire•9mo ago
yes but also there you can enable automatic code splitting (which start has enabled by default)