T
TanStack2mo ago
environmental-rose

SSG

https://x.com/tannerlinsley/status/1887914853215649947 How can I do static site generation (html files) when deplyong to Vercel? I'm aware of this https://tanstack.com/start/latest/docs/framework/react/guide/static-prerendering but it seems to only work when I do NOT use the nitro plugin on vite.config.ts
Tanner Linsley (@tannerlinsley)
This @Tan_Stack Start app uses createServerFn/'use server', but is completely static. No server other than CDN. https://t.co/aIQeoTcVWn
X
Static Prerendering | TanStack Start React Docs
Static prerendering is the process of generating static HTML files for your application. This can be useful for either improving the performance of your application, as it allows you to serve pre-rend...
1 Reply
ratty-blush
ratty-blush2mo ago
Can pages and the pages context be fetched by async function similar how this is done within pages folder getStaticPaths getStaticProps inside pages folder of NextJS or would that be something coming in the future?

Did you find this page helpful?