4 ms·
Fair enough. Genuinely wondering, what flexibility do you get by not having an app server?
by willsmith72 3y ago
Fair enough. Genuinely wondering, what flexibility do you get by not having an app server?
- ramesh31 3y ago>Genuinely wondering, what flexibility do you get by not having an app server? Keeping the frontend and backend decoupled. Being able to host the UI anywhere that can serve HTML/JS and not have to worry about maintaining/monitoring another server. Deployments are just a CDN cache invalidation, not cycling a container somewhere. SSR is great if you're worried about SEO, but it's generally total overkill for most apps.
- willsmith72 3y agoI don't think it's overkill for most apps anymore. The performance gains are non-trivial and actually more of a reason these days for me to use SSR than SEO. I guess keeping frontend and backend decoupled is a matter of preference. I don't mind coupling my backend and frontend, and think it's a huge developer productivity gain to colocate components with data fetching. If you already need a server to serve data, I actually think it just makes sense to use that server also to serve html.