useListChangeObserver

Source
import { useListChangeObserver } from "@prestojs/util";
useListChangeObserver<T>(value,onChange,?options)
Source

Arguments:

ArgumentTypeDescription
*valueundefined|null|false|T
*onChangeOnChange
options
An object with the properties below
options.disabledboolean
options.getId
options.isEqual
options.runOnAddboolean
options.runOnDeleteboolean
options.runOnUpdateboolean
Returns:void