Skip to content

refactor: Improve hydration mismatch errors for third-party scripts#68165

Open
aparzi wants to merge 1 commit intoangular:mainfrom
aparzi:improved-error-message-for-third-party-scripts
Open

refactor: Improve hydration mismatch errors for third-party scripts#68165
aparzi wants to merge 1 commit intoangular:mainfrom
aparzi:improved-error-message-for-third-party-scripts

Conversation

@aparzi
Copy link
Copy Markdown
Contributor

@aparzi aparzi commented Apr 13, 2026

Improves error messages shown during hydration mismatches to better surface cases where third-party scripts or browser extensions have modified the DOM outside of Angular's control.

Fixed #59224

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

Issue Number: #59224

Does this PR introduce a breaking change?

  • Yes
  • No

@pullapprove pullapprove bot requested a review from devversion April 13, 2026 13:41
@aparzi aparzi force-pushed the improved-error-message-for-third-party-scripts branch from f6079b7 to c2f4f0b Compare April 13, 2026 19:56
@aparzi
Copy link
Copy Markdown
Contributor Author

aparzi commented Apr 13, 2026

I updated the PR

Improves error messages shown during hydration mismatches to better
surface cases where third-party scripts or browser extensions have
modified the DOM outside of Angular's control.

Fixed angular#59224
@aparzi aparzi force-pushed the improved-error-message-for-third-party-scripts branch from c2f4f0b to 6578a99 Compare April 14, 2026 07:59
@kirjs kirjs added the area: core Issues related to the framework runtime label Apr 14, 2026
@ngbot ngbot bot added this to the Backlog milestone Apr 14, 2026
Copy link
Copy Markdown
Contributor

@thePunderWoman thePunderWoman left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for your work on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Issues related to the framework runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hydration resiliency: third party scripts that modify DOM and improved error messages

5 participants