Skip to content

fix(core): try/catch the HMR/DI warning#2687

Merged
jamesdaniels merged 1 commit intomasterfrom
try_catch_hmr_error
Nov 24, 2020
Merged

fix(core): try/catch the HMR/DI warning#2687
jamesdaniels merged 1 commit intomasterfrom
try_catch_hmr_error

Conversation

@jamesdaniels
Copy link
Member

If we're having trouble comparing the objects (just using JSON.stringify now) don't hard-fail, just skip the warning. This was meant as just guardrails for those lazy-loading or HMR rather than diehard functionality.

Closes #2672

@google-cla google-cla bot added the cla: yes label Nov 24, 2020
@jamesdaniels jamesdaniels merged commit 1530112 into master Nov 24, 2020
@jamesdaniels jamesdaniels deleted the try_catch_hmr_error branch November 24, 2020 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Firebase Analytics issue on angular 11

1 participant