useChangeObserver

Source
import { useChangeObserver } from "@prestojs/util";
useChangeObserver<T>(value,onChange,?options)
Params:
ParameterTypeDescription
*valueT
*onChange
options
An object with the properties below
options.disabledboolean
options.isEqual
Returns:void