3 ms·
It’s 2025 btw lol. You use SSR when you have public product catalog pages or something like that which needs to be reliably search indexed and up to date. Think
by babyent 2y ago
It’s 2025 btw lol. You use SSR when you have public product catalog pages or something like that which needs to be reliably search indexed and up to date. Think an e-commerce site or LinkedIn.
You use SPA when you have a private b2b or even b2b client app, like a CRM or file manager for a particular user or organization, whose data and pages will never be publicly available or indexed.
You can do hybrid if you have mixed use cases too.
Anyone who tells you otherwise is a noob and has no idea what they’re doing and should be ignored because they’re chasing hype or optimizing something dumb.
We live in a lazy load world you don’t need to load 25mb of JS. If you’re doing a private client side application look into lazy loading JS so you load only what’s necessary and load more as needed. Saving 50ms max when adding more revenue is better is dumb.
Build for your customers (solve their ACTUAL problems) and your use-case.
Source: was a UI lead back in the day leading on both SSR and SPA, collectively serving billions of dollars of value to millions of people. Trust me bro.