lemon-mart icon indicating copy to clipboard operation
lemon-mart copied to clipboard

Improve rxjs performance with shareReplay and distinctUntilChanged

Open duluca opened this issue 3 years ago • 0 comments

Update auth provider observables to utilize shareReplay and distinctUntilChanged to avoid unnecessary change detection.

More info: https://www.learnrxjs.io/learn-rxjs/operators/multicasting/sharereplay https://rxjs-dev.firebaseapp.com/api/operators/distinctUntilChanged

https://cartant.medium.com/rxjs-whats-changed-with-sharereplay-65c098843e95

duluca avatar Apr 14 '21 05:04 duluca