cd.markForCheck and cd.detechChanges not updating children

前端 未结 0 1701
天命终不由人
天命终不由人 2021-01-13 03:54

I\'m learning Angular\'s Change Detection and created an example with the OnPush strategy.

In the parent component I\'m mutating an object and triggering the CD:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题