3 ms·
Most of the performance loss is due to using a frontend framework at all. Differences in such frameworks is then little. You need two round-trips at each page-l
by NewEntryHN 9y ago
Most of the performance loss is due to using a frontend framework at all. Differences in such frameworks is then little. You need two round-trips at each page-load because you need the base HTML page then the data and rendering in the browser is orders of magnitude slower than rendering server-side with a good rendering engine.
I understand the point of frontend frameworks for SPA, not so much for Reddit profile pages which are literally single, static, pages.
- p49k 9y agoYou can render React server-side on first page load, though, and there will be no lag waiting for the page to render and initialize. I think that most people don't do it because there is extra work involved, but IMO if you're a huge site like Reddit, there's no excuse for not doing so, it seems like laziness.