Skip to content

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

Open
thePunderWoman wants to merge 1 commit intoangular:mainfrom
thePunderWoman:feat/default-incremental-hydration
Open

feat(platform-browser): make incremental hydration default behavior#68092
thePunderWoman wants to merge 1 commit intoangular:mainfrom
thePunderWoman:feat/default-incremental-hydration

Conversation

@thePunderWoman
Copy link
Copy Markdown
Contributor

@thePunderWoman thePunderWoman commented Apr 8, 2026

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
@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
@pullapprove pullapprove bot requested a review from crisbeto April 8, 2026 22:10
Copy link
Copy Markdown
Contributor

@AndrewKushnir AndrewKushnir left a comment

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

3 participants