lenrix
lenrix copied to clipboard
Enable custom change detection strategy
store.changeDetectionStategies({
myValue: (previousValue, nextValue) => previousValue.myField === nextValue.myField
})
Since this case is so common:
store.changeDetectionSelectors({
birthDate: _ => _.getTime()
})