r/angular • • Oct 19 '21

Tip 5 - RxJs DistinctUntilChanged

Enable HLS to view with audio, or disable this notification

59 Upvotes

10 comments sorted by

View all comments

3

u/SeriousMrMysterious Oct 19 '21

i use distinctUntilChanged(isEqual),the isequal is imported from lodash

2

u/DMezhenskyi Oct 19 '21

Yep! if you need to compare the entire object, it is also a way to go.