3 ms·
Do people call returning HTML/CSS/images from a server "rendering" now? The browser still "renders" the HTML into a visible UI.
by mattmcknight 7y ago
Do people call returning HTML/CSS/images from a server "rendering" now? The browser still "renders" the HTML into a visible UI.
- crooked-v 7y agoIn this context, 'render' means transforming React (or similar framework) output into a DOM tree, plus the magic that goes into rehydrating dynamic elements once the static copy of the page is loaded. The benefit of that is getting all the effects of 'just plain HTML' while still being able to dynamically update parts of the page, and doing the entire thing in a single framework such that (if you do it right) your code doesn't have to explicitly do anything to specially handle the two different use cases.
- hnbreak 7y agoyes they call this rendering now but just in the context SSR vs SPA