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 SSR can help our application and what problems it can solve for us. In our next sections, we are going to learn about SEO and how to improve the performance of our application.
Implementing search engine optimization
One of the main reasons why we may want to render our applications on the server side is Search Engine Optimization (SEO).
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: an SSR one for the crawlers, and another one to be used on the client side by users. We used to do that because SSR applications...