News for hackers. Stuff that matters.
Re:We Improved React Loading Times by 70% with Next.js by lewisl9029 on Monday October 24, 2022 @12:40PM (#33318997)
Curious to hear from people out there using Next.js, but without _any_ SSR, i.e. using the `next export` command mentioned in the article: https://nextjs.org/docs/advanced-features/static-html-export

(Seems like the folks in the article are beginning to use SSR, and have some great use cases with publicly available, SEO-friendly content, but a lot of apps don't, and can benefit from avoiding the operational complexity.)

Create React App is a bit long in the tooth these days, so I can imagine `next export` being a lot nicer to work with in a whole bunch of ways, but the only advantage of `next export` I can think of over something more modern like Vite is file-system routing.

For those using `next export` and have also evaluated Vite, is that what made you choose `next export`? Or is it something else?

Re:We Improved React Loading Times by 70% with Next.js by hultner on Monday October 24, 2022 @01:12PM (#33319403)
I’ve used the next export based approach on quite a few projects and agree with previous commenters, next takes care of a lot of the boring stuff when setting up a new project and the routing feels refreshingly out of the way compared to many pre-next alternatives.