Re:Vite 8.0 Is Out
by littlecranky67 on Friday March 13, 2026 @05:19AM
(#47362185)
Any suggestions to replace NextJS when you only use static export (no SSR)?
[ Parent
| on HN ]
Tanstack Start is the gold standard here. It’ll do a static export no problem.
Astro: https://astro.build/
Re:Vite 8.0 Is Out
by littlecranky67 on Friday March 13, 2026 @07:59AM
(#47363246)
From my first glance, it is not really. Has its own templating syntax, its own file format etc. With NextJS static export I only have valid react/tsx and would not want to introduce a framework-specific language. Also could not easily find something about the routing
While Astro does indeed have its own type of components, it also supports React, Solid and a host of others. So transplanting your current tree of components in, adding the React plugin and saying "GO" is likely a fairly straight-forward project. I moved a previous static site into an older verison of Astro with very little trouble.
Re:Vite 8.0 Is Out
by christophilus on Friday March 13, 2026 @05:42AM
(#47362335)
It depends on your application, but for typical SPAs, there are any number of approaches which are better than next by every metric I (personally) care about.
Re:Vite 8.0 Is Out
by littlecranky67 on Friday March 13, 2026 @08:02AM
(#47363287)
Care to list those?
Re:Vite 8.0 Is Out
by NamlchakKhandro on Friday March 13, 2026 @05:46AM
(#47362357)
tanstack router
Re:Vite 8.0 Is Out
by BoorishBears on Friday March 13, 2026 @12:02PM
(#47366249)
I'm surprised anyone's using Next for static exports when they've left dynamic paths broken for years.
I recently migrated to Tanstack for this and confirm it's been strictly better so far, especially having dynamic paths in my use-case (makes a hybrid app much more realistic)