I suspect the rationale here is no longer may no longer be accurate. My understanding is that, under Ivy, change detection happens at both the declaration point (the end-developer's component) and the insertion point (the cdkTreeNodeOutlet inside the CdkTree template).
We should determine whether we should change the tree back to OnPush.
Right now, CdkTree explicitly marks itself as
ChangeDetectionStrategy.Default
: https://github.com/angular/components/blob/513832845403e88712e0d9f69ca68f3928cb6821/src/cdk/tree/tree.ts#L65-L69I suspect the rationale here is no longer may no longer be accurate. My understanding is that, under Ivy, change detection happens at both the declaration point (the end-developer's component) and the insertion point (the
cdkTreeNodeOutlet
inside theCdkTree
template).We should determine whether we should change the tree back to
OnPush
.