From the course: Building a Resilient Web

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

CSR, SSR, and hydration

CSR, SSR, and hydration

- [Instructor] The evolution of web technologies and practices it's pretty cyclical. And the evolution of how we use JavaScript frameworks and how they work is no exception. Way back at the beginning of the web, we used to serve up static resources for the user. Every page was a separate HTML document that we wrote by hand. Then we discovered this required updating each individual resource by hand so we created first dynamic web templates and then service side rendered sites using PHP and content management systems like WordPress and Drupal. Then we noticed having sites rendered on the fly by the browser as they were requested created a significant bottleneck so we started cashing those resources and serving static HTML pages again. That worked except we also wanted our size to be interactive and work more like apps. So when we started introducing front-end JavaScript frameworks like React and render the content on…

Contents