Reasons to implement Server-Side Rendering
SSR is a great feature, but we should not jump into it just for the sake of it: we should have a real and solid reason to start using it. In this section, we will look at how server-side rendering can help our application and which problems it can solve for us.
SEO
One of the main reasons we may want to render our applications on the server-side is Search Engine Optimization (SEO).
In fact, if we serve an empty HTML skeleton to the crawlers of the main search engines, they are not able to extract any meaningful information from it.
Nowadays, Google seems to be able to run JavaScript, but there are some limitations, and SEO is often a critical aspect of our businesses.
For years, we used to write two applications: a server-side rendered one for the crawlers and another one to be used on the client side by the users.
We used to do that because server-side rendered applications could not give us the level of interactivity users expect, while a client-side...