News for hackers. Stuff that matters.
Re:We Improved React Loading Times by 70% with Next.js by gatvol on Monday October 24, 2022 @01:32PM (#33319691)
Ssr to improve a static app performance? Sounds like madness to me. More complexity plus much larger surface to secure.
Re:We Improved React Loading Times by 70% with Next.js by adchurch on Monday October 24, 2022 @01:47PM (#33319911)
One nice thing about Next.js is you don't need to use SSR unless absolutely necessary - it will statically generate all your pages by default (which is similar to but not the same as SSR - it runs once at build time rather than on every single request), so the result is similar to CRA but with quicker first page load times and a much better developer experience.

But you have the power to use SSR where necessary too, which is not really possible with CRA (without unscalable hacks).