refactor(core): produce a message about @defer behavior when HMR is enabled#60533
refactor(core): produce a message about @defer behavior when HMR is enabled#60533AndrewKushnir wants to merge 1 commit intoangular:mainfrom
@defer behavior when HMR is enabled#60533Conversation
… enabled When the HMR is enabled in Angular, all `@defer` block dependencies are loaded eagerly, instead of waiting for configured trigger conditions. From the DX perspective, it might be seen as an issue when all dependencies are being loaded eagerly. This commit adds a logic to produce a message into the console to provide more info for developers.
8cf640c to
c9a139f
Compare
|
@thePunderWoman @crisbeto thanks for the feedback, I've addressed it and pushed an updated version. There is also a minor change to a golden file (a new error code), so this PR would need a |
|
Caretaker note: the presubmit is "green" (after a rerun of some flaky tests), this PR is ready for merge. Important note: this PR would require the following steps to land in g3:
Since there is some extra complexity in landing this change, please merge and sync this change separately (as the only change in a sync CL). |
… enabled (#60533) When the HMR is enabled in Angular, all `@defer` block dependencies are loaded eagerly, instead of waiting for configured trigger conditions. From the DX perspective, it might be seen as an issue when all dependencies are being loaded eagerly. This commit adds a logic to produce a message into the console to provide more info for developers. PR Close #60533
|
This PR was merged into the repository by commit 152261c. The changes were merged into the following branches: main, 19.2.x |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |

When the HMR is enabled in Angular, all
@deferblock dependencies are loaded eagerly, instead of waiting for configured trigger conditions. From the DX perspective, it might be seen as an issue when all dependencies are being loaded eagerly. This commit adds a logic to produce a message into the console to provide more info for developers.Does this PR introduce a breaking change?