-
Book Overview & Buying
-
Table Of Contents
React Application Architecture for Production - Second Edition
By :
When thinking about our application pages, we need to think about their needs to get a better understanding of how they should be rendered. Some factors to consider are: frequency of page content updates, number of pages, SEO requirements, performance requirements, infrastructure and whether the page content is public or private.
We can choose some of the following rendering strategies:
We will dive deeper into each strategy by implementing them in our application to learn more about why and we would use each of them.
Server-side rendering (SSR) means that the page content is generated on the server for each request. This allows us to fetch fresh data from our database or API and render personalized content while still providing fast initial page loads and excellent SEO.
Let's visualize how server-side rendering works:

Every time...