pigbearpig
5 hours ago
Respectfully, I don't understand this. They never needed Next.js for a static blog.
This is like writing a post about how I didn't need a Ferrari to commute to work and I saved money by taking the bus.
littlecranky67
3 hours ago
Next.js supports fully static export, so they should have went with that.
I run a dynamic website on nextjs static export - landingpages and docs are fully static, login and user dashboard use REST calls to a non-nextjs backend. Blazing fast, no nodejs or SSR in production.
onion2k
3 hours ago
Next.js supports fully static export, so they should went with that.
Keeping an unnecessary dependency for legacy reasons is never a good move. Be bold and delete things. Your software will be better for it.
littlecranky67
3 hours ago
Wouldn't say unnecesarry. Nextjs static export has features such as dynamic chunking, eager-loading of chunks when you hover over a link, routing etc. With a plugin you get image optimization (different image quality levels and dimensions based on viewport size) etc.
But yes, another static site blog generator would also work.
CharlieDigital
21 minutes ago
My experience with Next.js is that because it mixes multiple paradigms, it makes using any single one of them more complicated and error prone.
Not just as the dev delivering the solution, but also library and package authors.
Ran into lots of issues around Next 12, Next 13 was very buggy, moved to Astro and never looked back.
kypro
an hour ago
> Wouldn't say unnecesarry. Nextjs static export has features such as dynamic chunking, eager-loading of chunks when you hover over a link, routing etc.
As someone who's ran a blog for 25 years it's surprising I never knew these things were necessary until now.
flexagoon
40 minutes ago
The static export still keeps a large JS bundle which is mostly unnecessary
cpursley
3 hours ago
Astro blows away next.js for static sites, especially blogs.
littlecranky67
3 hours ago
Care to elaborate and backup you wild claim with some facts?
flexagoon
41 minutes ago
How is it a wild claim that an optimized plain html site is better for a static blog than a site with a huge redundant JS bundle?
vanderZwan
3 hours ago
I think we should blame the elders for teaching people new to the trade wrong.
Because "heavyweight SPA for a static blog" isn't exactly a rare problem.
legulere
an hour ago
It's more like they realised they can also commute by bike or foot never realizing before that that was even an option
vjay15
40 minutes ago
exactly just use a ssg like zola/hugo and call it a day smh