angular/packages/platform-browser/src
arturovt a01bcb8e7e fix(platform-browser): do not run change detection when loading Hammer (#44921)
The Hammer.JS might be loaded asynchronously if the `HAMMER_LOADER` token is provided.
Its loading causes additional change detection cycles when the script `load` event is fired
and the `import()` promise resolves. Its loading doesn't have to require Angular running `tick()`
since the Hammer instance is created outside of the Angular zone anyway.

BREAKING CHANGE:

This change may cause a breaking change in unit tests that are implicitly depending on a specific
number and sequence of change detections in order for their assertions to pass.

PR Close #44921
2022-02-02 19:50:46 +00:00
..
browser perf(platform-browser): avoid intermediate arrays in server transition (#43145) 2021-08-17 09:22:05 -07:00
dom fix(platform-browser): do not run change detection when loading Hammer (#44921) 2022-02-02 19:50:46 +00:00
security refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
browser.ts refactor: delete the View Engine runtime (#43884) 2021-11-23 21:10:06 +00:00
platform-browser.externs.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
platform-browser.ts refactor: delete the View Engine runtime (#43884) 2021-11-23 21:10:06 +00:00
private_export.ts refactor: delete the View Engine runtime (#43884) 2021-11-23 21:10:06 +00:00
version.ts docs: fix package name in version.ts files in different packages (#41208) 2021-05-10 10:26:34 -04:00