DEV Community

loading...

Discussion on: Dominating Web Development Trends 2021💥

Collapse
king11 profile image
Lakshya Singh

Can't agree in the SPA part while SPA's were pretty popular when they came but now I guess people are shifting towards SSG and SSR for better performance perks

Collapse
sandastaisme profile image
Jason Sandasta • Edited

SSR is not a replacement for SPA's. SSR tools are used to make SPA's search engine friendly ie. Angular Universal or Gatsby/Express for React. However, there are many real world use cases for SPA's ie. a user focussed web app that needs to be fast and easy to load. Thus, using SSR for search engine bots and other crawlers, allows the use of SPA's while also being search friendly. Of course, as Google and other search engines increase the abilities of their WRS, we can expect JS to be more easily parsed by them. I do not think SPA's are a thing of the past. These have many use cases, and people should not be afraid of them because of SEO issues.

Collapse
alijiemmanuel profile image
Aliji-Emmanuel

I disagree, as an architect, it all depends on the user. In a personalized dashboard should be built with SPA.
A blogging site should use SSR for SEO benefits.
As services become more personalized, SPA becomes important.

Collapse
king11 profile image
Lakshya Singh

ohh but can't the same be achieved with an SSG or SSR too I wonder 🤔