Title: Enable `withIncrementalHydration()` by default in for SSR Angular projects · Issue #65263 · angular/angular · GitHub
Open Graph Title: Enable `withIncrementalHydration()` by default in for SSR Angular projects · Issue #65263 · angular/angular
X Title: Enable `withIncrementalHydration()` by default in for SSR Angular projects · Issue #65263 · angular/angular
Description: Command new Description Currently, Angular SSR applications generated with the Angular CLI (ng new --ssr) do not enable withIncrementalHydration() by default. Developers need to manually update the server configuration to opt in to incre...
Open Graph Description: Command new Description Currently, Angular SSR applications generated with the Angular CLI (ng new --ssr) do not enable withIncrementalHydration() by default. Developers need to manually update the...
X Description: Command new Description Currently, Angular SSR applications generated with the Angular CLI (ng new --ssr) do not enable withIncrementalHydration() by default. Developers need to manually update the...
Opengraph URL: https://github.com/angular/angular/issues/65263
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enable `withIncrementalHydration()` by default in for SSR Angular projects","articleBody":"### Command\n\nnew\n\n### Description\n\nCurrently, Angular SSR applications generated with the Angular CLI (ng new --ssr) do not enable `withIncrementalHydration()` by default. Developers need to manually update the server configuration to opt in to incremental hydration.\n\nIncremental hydration is now the recommended, modern hydration strategy and provides significant UX and performance benefits compared to the legacy full hydration approach. Because of this, it would be beneficial for developers if new SSR projects used this configuration automatically.\n\nPlease enable `provideClientHydration(withIncrementalHydration())` in all newly generated Angular SSR applications.\n\n### Describe the solution you'd like\n\n**Suggested change:**\n\nWhen running:\n\n`ng new my-app --ssr`\n\nthe generated `app.config.ts` (and/or other relevant project scaffolding) should automatically include:\n\n```\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideClientHydration(withIncrementalHydration()),\n ]\n};\n```\n\ninstead of the current default `provideClientHydration()`.\n\n### Describe alternatives you've considered\n\nDevelopers can manually modify `app.config.ts` to include `withIncrementalHydration()`, but:\n- It is easy to overlook.\n- Tutorials and docs are inconsistent.\n- It adds friction to adopting SSR best practices.","author":{"url":"https://github.com/npapp-dev002","@type":"Person","name":"npapp-dev002"},"datePublished":"2025-11-14T16:26:35Z","url":"https://github.com/angular/angular/issues/65263"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ba1a9d6c-ce0e-bc09-cd52-33f2454e3842 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 816C:29FFA9:1323535:184B125:6B012185 |
| html-safe-nonce | bd4eccf7053ece370fc510f966b87976b615aef19f678a6ec061c4c490f739fd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTZDOjI5RkZBOToxMzIzNTM1OjE4NEIxMjU6NkIwMTIxODUiLCJ2aXNpdG9yX2lkIjoiNjc1MDUxODg2NTM1NDEwNTIyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b98e770fdbaa4ad4567f5ecc303b7f6594e564fa9b24fce6c3491547a409689f |
| hovercard-subject-tag | issue:3632243149 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/65263/issue_layout |
| twitter:image | https://opengraph.githubassets.com/65fce3ea80fb7f918563ea57ee59526d0b60c8d63b9bc007cd9e644b4514d493/angular/angular/issues/65263 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/65fce3ea80fb7f918563ea57ee59526d0b60c8d63b9bc007cd9e644b4514d493/angular/angular/issues/65263 |
| og:image:alt | Command new Description Currently, Angular SSR applications generated with the Angular CLI (ng new --ssr) do not enable withIncrementalHydration() by default. Developers need to manually update the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | npapp-dev002 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width