Skip to content

Conversation

@AndrewKushnir
Copy link
Contributor

Angular Hydration uses Components as hydration boundaries, i.e. you can enable/disable hydration on per-component basis. This commit enforces that the ngSkipHydration can only be applied on component host nodes (an error if thrown otherwise).

PR Type

What kind of change does this PR introduce?

  • Refactoring (no functional changes, no api changes)

Does this PR introduce a breaking change?

  • Yes
  • No

@AndrewKushnir AndrewKushnir added action: review The PR is still awaiting reviews from at least one requested reviewer area: core Issues related to the framework runtime target: major This PR is targeted for the next major release core: hydration labels Mar 20, 2023
@ngbot ngbot bot modified the milestone: Backlog Mar 20, 2023
Copy link
Contributor

@jessicajaniuk jessicajaniuk left a comment

Choose a reason for hiding this comment

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

LGTM

We'll need to make sure there's a Runtime Error code added depending on which PR lands first.

@AndrewKushnir AndrewKushnir added action: presubmit The PR is in need of a google3 presubmit and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Mar 21, 2023
@AndrewKushnir
Copy link
Contributor Author

Presubmit.

@AndrewKushnir AndrewKushnir added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed action: presubmit The PR is in need of a google3 presubmit labels Mar 21, 2023
@AndrewKushnir
Copy link
Contributor Author

Caretaker note: presubmit is "green", this PR is ready for merge.

@AndrewKushnir AndrewKushnir force-pushed the validate-skip-hydration branch from f3a47c8 to ee674e1 Compare March 21, 2023 17:29
@angular-robot angular-robot bot requested a review from jessicajaniuk March 21, 2023 17:30
… host ones

Angular Hydration uses Components as a hydration boundary, i.e. you can enable/disable hydration on per-component basis. This commit enforces that the `ngSkipHydration` can only be applied on component host nodes (an error if thrown otherwise).
@AndrewKushnir AndrewKushnir force-pushed the validate-skip-hydration branch from ee674e1 to 103f567 Compare March 21, 2023 17:43
@pkozlowski-opensource
Copy link
Member

This PR was merged into the repository by commit a94b66f.

@angular-automatic-lock-bot
Copy link

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 Apr 21, 2023
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 core: hydration merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants