Skip to content

feat(platform-browser): make incremental hydration default behavior - #68092

Merged
kirjs merged 1 commit into
angular:mainfrom
thePunderWoman:feat/default-incremental-hydration
Apr 9, 2026
Merged

kirjs merged 1 commit into
angular:mainfrom
thePunderWoman:feat/default-incremental-hydration

Conversation

@thePunderWoman

@thePunderWoman thePunderWoman commented Apr 8, 2026 •

Copy link
Copy Markdown
Contributor

This PR automatically enables incremental hydration by default in provideClientHydration(). It introduces a new withNoIncrementalHydration() feature for opting out, implements developmental conflict safety checks, and provides an automatic schematic migration.

Fixes #65263

@angular-robot angular-robot Bot added detected: feature PR contains a feature commit area: core Issues related to the framework runtime labels Apr 8, 2026
@ngbot ngbot Bot modified the milestone: Backlog Apr 8, 2026
@thePunderWoman thePunderWoman added the target: major This PR is targeted for the next major release label Apr 8, 2026
@thePunderWoman
thePunderWoman force-pushed the feat/default-incremental-hydration branch from 702c44e to 3c27c2e Compare April 8, 2026 19:18
@thePunderWoman thePunderWoman added the action: review The PR is still awaiting reviews from at least one requested reviewer label Apr 8, 2026
Comment thread packages/core/schematics/migrations/incremental-hydration/migration.spec.ts Outdated
@thePunderWoman
thePunderWoman force-pushed the feat/default-incremental-hydration branch 4 times, most recently from a0f8708 to ae2777c Compare April 8, 2026 20:30
@pullapprove
pullapprove Bot requested a review from kirjs April 8, 2026 20:30
@angular-robot angular-robot Bot added the area: server Issues related to server-side rendering label Apr 8, 2026
@thePunderWoman
thePunderWoman force-pushed the feat/default-incremental-hydration branch 2 times, most recently from d8c25ff to 67fa965 Compare April 8, 2026 21:32
Comment thread packages/core/schematics/migrations.json Outdated
@pullapprove
pullapprove Bot requested a review from crisbeto April 8, 2026 22:10

@AndrewKushnir AndrewKushnir left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-for: public-api

@pullapprove
pullapprove Bot requested a review from atscott April 8, 2026 22:10
This commit updates provideClientHydration to automatically enable incremental hydration by default. It also introduces a new withNoIncrementalHydration feature for opting out, adds conflict safety checks, and includes a schematic migration.
@thePunderWoman
thePunderWoman force-pushed the feat/default-incremental-hydration branch from 67fa965 to 6c79234 Compare April 8, 2026 22:21
@thePunderWoman thePunderWoman added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Apr 8, 2026
@kirjs
kirjs merged commit 68628dd into angular:main Apr 9, 2026
19 of 21 checks passed
@kirjs

kirjs commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

This PR was merged into the repository. The changes were merged into the following branches:

@thePunderWoman
thePunderWoman deleted the feat/default-incremental-hydration branch April 17, 2026 15:19
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators May 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime area: server Issues related to server-side rendering detected: feature PR contains a feature commit target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable withIncrementalHydration() by default in for SSR Angular projects

4 participants