logoalt Hacker News

onion2k • today at 7:06 AM • 1 reply • view on HN

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.


Replies

littlecranky67 • today at 7:14 AM

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.

➕ show 2 replies