Latest updates for Hydration and Server Side Rendering (SSR) in Angular 17
I want to share some great news and latest updates on hydration and server side rendering in Angular 17. So we’ll also take a look at the new site with documentation and playground.
Hydration in Angular 17
Hydration in Angular 17 is now stable and ready to be used by you and your teams in production.
Server Side Rendering in Angular 17
The difference between Angular 16 version and Angular 17 is that in Angular 17 server side rendering is enabled by default and now you don’t need to specify additional parameters when creating an application.
Earlier, you had to specify the -ssr
flag when creating a new application. But don't worry, while creating an application, Angular will ask you if you want to use server-side rendering.
Server Side Rendering Improvements in Angular 17
Support esm for server builds, and in simple terms now developers can use modules in their server side code. But the angular team didn’t stop there and increased the performance of the server builds and additionally increased the performance of the development server. I think server-side rendering will become really fast!