Zone.js - Zone 传播

优质
小牛编辑
136浏览
2023-12-01
  • Assigning to Zone.current is a runtime error. The only way to change Zone.current is through Zone.prototype.run().
  • Child zone has a reference to parent zone (but parent does not have reference to child) having parent relationship only allows the zones to be garbage collected by simply releasing a reference to a zone.