Server-Side Rendering
webdev
frontend
react
What is SSR?
As you know SPA applications are rendered on the client-side. There are a few reasons we want to render our application on the server side. One it helps with SEO. One of the key things to achieve this is to use hydration
or rehydration
. And you would also need to setup the server to hydrate
your webpage. hydration
just means that you are updating the webpage when you render your application in the server with the appropriate state of the application.