Closed dzonatan closed 2 years ago
This was giving me some headache to find.. I still don't know the actual root cause but it seems that setupSubjectUnsubscribedChecker somehow breaks the CD flow. Of course, this happens only in dev mode as the checker is skipped in production.
setupSubjectUnsubscribedChecker
https://stackblitz.com/edit/angular-ivy-zpbzzg?file=src/app/movies.component.ts When going back from details -> movies route the view does not get updated with the result that's coming within asapScheduler: The code should be pretty self-explanatory.
asapScheduler
My use case of asapScheduler is actually coming from the https://ngrx.io/guide/component-store/read#debounce-selectors which is used internally.
Obviously, v9.1.1 doesn't have this problem as this checker was introduced in the last version.
v9.1.1
Thank you for the issue! That's an edge case I would never think of.
I've published 9.2.1 with a fix.
9.2.1
This was giving me some headache to find.. I still don't know the actual root cause but it seems that
setupSubjectUnsubscribedChecker
somehow breaks the CD flow. Of course, this happens only in dev mode as the checker is skipped in production.https://stackblitz.com/edit/angular-ivy-zpbzzg?file=src/app/movies.component.ts When going back from details -> movies route the view does not get updated with the result that's coming within
asapScheduler
: The code should be pretty self-explanatory.My use case of
asapScheduler
is actually coming from the https://ngrx.io/guide/component-store/read#debounce-selectors which is used internally.Obviously,
v9.1.1
doesn't have this problem as this checker was introduced in the last version.