Server Side Rendering with JavaScript Frameworks
What is server side rendering?
Server-side rendering is the process that generates and rewrites HTML server-side, and usually stores it in a cache to be sent to the browser when a page is requested.
While this process may be triggered by a server programmed job or task, server side rendered pages my be generated on the fly, that means, only when a page is requested.
Hydration
But how do we make the page dynamic to respond to user interaction while keeping state consistent?
State may be transferred from the server-side to the client-side, during a JavaScript bootstrapping or initialization of the application process, known as hydration. This process comes with considerable performance overhead.