Remix.run Logo
littlecranky67 5 hours ago

Any suggestions to replace NextJS when you only use static export (no SSR)?

dbbk 4 hours ago | parent | next [-]

Tanstack Start is the gold standard here. It’ll do a static export no problem.

christophilus 5 hours ago | parent | prev | next [-]

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.

littlecranky67 2 hours ago | parent [-]

Care to list those?

J_tt 4 hours ago | parent | prev | next [-]

Astro: https://astro.build/

littlecranky67 3 hours ago | parent [-]

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

nobleach 2 hours ago | parent [-]

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.

NamlchakKhandro 5 hours ago | parent | prev [-]

tanstack router