Re:Next.js 8 released
by sshine on Monday February 11, 2019 @05:56AM
(#19133517)
SPA? SSR?
[ Parent
| on HN ]
SPA = Single Page App
SSR = Server Side Rendered
SPAs run in the browser, therefore they must be written in JavaScript (or something that compiles to it.)
SPAs have the drawback of having to load a bunch of JavaScript before rendering anything, so the initial page load tends to be slow. Next.js gets around this by performing SSR for the initial page view, and then you're already looking at that page while all of the JS loads to render subsequent pages.
The term 'SPA' is a little outdated - since HTML5 history (which is nearly a decade old now) most 'SPAs' are actually multiple pages.
'web apps' is better.
Re:Next.js 8 released
by mcescalante on Monday February 11, 2019 @06:00AM
(#19133540)
They stand for Single Page Application (client side) and Server Side Rendering (which makes a JS app render more like a normal server side page for the client) respectively.