useMemoOne

Source
import { useMemoOne } from "@prestojs/util";
useMemoOne<T>(getResult,?inputs,?compare)
Source

Arguments:

ArgumentTypeDescription
*getResult
inputsany[]
compareComparisonFn
Returns:T