Code Splitting by Pages / SSG #2273
erikdemarco
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is the single most important feature that tanstack doesnt have to compete with other full stack framework like nextjs. in nextjs they have SSG with their static export:
https://nextjs.org/docs/pages/building-your-application/deploying/static-exports
Currently TanStack cant do it, but we only need to add very little touch, we already have features to support that, we have file based routing, we already have code splitting feature too.
Here's how Vite do codesplitting for each file based route:
https://github.com/vitejs/vite-plugin-react-pages
Beta Was this translation helpful? Give feedback.
All reactions