2 ms·
Ssr to improve a static app performance? Sounds like madness to me. More complexity plus much larger surface to secure.
by gatvol 4y ago
Ssr to improve a static app performance? Sounds like madness to me. More complexity plus much larger surface to secure.
- adchurch 4y agoOne 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).