News for hackers. Stuff that matters.
Re:We Improved React Loading Times by 70% with Next.js by gherkinnn on Monday October 24, 2022 @12:55PM (#33319204)
It takes care of all the boring stuff like reliable reloads, .env files, routing, config (without me writing any), bundling, etc. It leaves me the fuck alone.

SSR doesn’t add too much complexity and at the very least is a reliable way to serve a server-rendered shell of the application so the content doesn’t fly about as it loads.

Re:We Improved React Loading Times by 70% with Next.js by hklgny on Monday October 24, 2022 @01:25PM (#33319598)
100% this. Spinning up a new Next project "just works" for getting started, and makes me confident in a scaling path as times goes on. Adding things like lightweight API routes (weirdly useful in a ton of situations) or pulling in interactivity are trivial.

I still write static HTML if I'm positive it'll be a forever fit - but anything client facing or with an ambiguous feature I reach for Next.

Re:We Improved React Loading Times by 70% with Next.js by jonny_eh on Monday October 24, 2022 @01:02PM (#33319278)
I also like how it adds a light API layer, you can proxy 3rd-party APIs to your front-end.
Re:We Improved React Loading Times by 70% with Next.js by yunohn on Monday October 24, 2022 @01:05PM (#33319312)
This is a huge advantage when you’re building client-side apps that need a light backend.