Skip to content

fix(core): render error boundary fallbacks after HMR - #70674

Open
SkyZeroZx wants to merge 1 commit into
angular:mainfrom
SkyZeroZx:fix/hmr-boundary
Open

SkyZeroZx wants to merge 1 commit into
angular:mainfrom
SkyZeroZx:fix/hmr-boundary

Conversation

@SkyZeroZx

Copy link
Copy Markdown
Contributor

HMR refreshed the replacement view with its initial RefreshView flag still set, so a boundary whose primary block failed during creation could not schedule the pass that renders the error block. Clear the flag before the update pass.

Fixes #70673

HMR refreshed the replacement view with its initial RefreshView flag still set, so a boundary whose primary block failed during creation could not schedule the pass that renders the error block. Clear the flag before the update pass.

Fixes angular#70673
@pullapprove
pullapprove Bot requested a review from JeanMeche September 11, 2026 06:02
@angular-robot angular-robot Bot added the area: core Issues related to the framework runtime label Sep 11, 2026
@ngbot ngbot Bot added this to the Backlog milestone Sep 11, 2026
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.

bug(HMR + @boundary): template error boundaries disappear with HMR refresh

1 participant