useChangeObserver

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

Arguments:

ArgumentTypeDescription
*valueT
*onChange
options
An object with the properties below
options.disabledboolean
options.isEqual
Returns:void