Open
Description
Right now, CdkTree explicitly marks itself as ChangeDetectionStrategy.Default
:
components/src/cdk/tree/tree.ts
Lines 65 to 69 in 5138328
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
.