angular-docs-cn/zone
Victor Berchet e8a6c95e2a feat(VmTurnZone): Rework the implementation to minimize change detection runs
Before this PR there were only 2 zones: root zone = outer zone > inner
zone.
This PR creates the outer zone as a fork of the root zone: root > outer
> inner.

By doing this it is possible to detected microtasks scheduling in the
outer zone and run the change detection less often (no more than one
time per VM turn).

The PR also introduce a Promise monkey patch for the JS implementation.
It makes Promises aware of microtasks and again allow running the change
detection only once per turn.
2015-05-12 21:03:24 +02:00
..
es6-promise.js feat(VmTurnZone): Rework the implementation to minimize change detection runs 2015-05-12 21:03:24 +02:00
long-stack-trace-zone.js feat(VmTurnZone): Rework the implementation to minimize change detection runs 2015-05-12 21:03:24 +02:00
zone.js feat(VmTurnZone): Rework the implementation to minimize change detection runs 2015-05-12 21:03:24 +02:00