With new Ivy compilation and rendering pipeline we also have a few new functions for working with change detector.
I'm interested in markDirty().
As far as I understand this function provides an ability to schedule change detection firing for a component in some future. Yes, I understand that it's currently unstable functionality, but it's already provided in angular.core.
So my question is: What is the difference between markDirty() and ChangeDetectorRef.markForCheck()?
And what benefits are provided by this function?