reattach method
Reattaches a component that was detach-ed previously from the hierarchy.
This method also invokes markForCheck, and the now re-attached component will be checked for changes during the next change detection run. See the docs around detach for details of how detaching works and why this method invocation should be rare.
Implementation
@Deprecated('Use "changeDetection: ChangeDetectionStrategy.OnPush" instead')
void reattach() {
reattachDeprecated();
}