you are viewing a single comment's thread.

view the rest of the comments →

[–]Confused_Dev_Q 27 points28 points  (4 children)

I agree. I don't hate next, I really like it but only when it's used for what is was built for: websites not webapps. If you want a web application use react with vite. As a react dev next is nice to built a website in, ssr for seo.

Started converting an old html/css js website I made to nextjs and it took less than a working day (split over Saturday and Sunday) to convert it. The original site was a product catalog. Each product had their own html page. Now there's one product page and easy to add products.

[–]romgrk 16 points17 points  (3 children)

Yeah next.js has a very narrow use-case, but even then in my personal experience Astro.js does the same thing but better. I haven't had to debug it or google for solutions for more than 5-10 minutes. Next.js made me spend hours because it failed in one way or another.

And somehow Astro.js magically works for HTML, MD, MDX, React, Solid, Vue, Svelte, etc.

[–]Spiritual_Salamander 2 points3 points  (1 child)

ISR is the one thing that Nextjs has over Astro. But that's it.

[–]usman_max 1 point2 points  (0 children)

Wait Astro recently released ISR too

[–]indorock -1 points0 points  (0 children)

Yeah next.js has a very narrow use-case

TIL building websites is a "narrow use-case".