To view this content, buy the book! 😃🙏
Or sign in if you’ve already purchased.
As we mentioned in Background > SSR, server-side rendering often results in faster load times. But if we render our app on the server the same way we render on the client, then all our Apollo Client queries will be in the loading state, and the HTML the server sends to the client will have loading spinners and skeletons everywhere. In most cases, we want the HTML to contain all the GraphQL data from the completed queries, so that the client sees the data immediately. We can do this in six steps:
We go through these steps in the SSR chapter, included in the Pro edition of the book: