@launchmenu/core
Version:
An environment for visual keyboard controlled applets
8 lines • 527 B
TypeScript
/**
* Performs the given effect only on component updates, when the dependencies aren't deeply equal, not on the first render
* @param effect Imperative function that can return a cleanup function
* @param deps Effect will only activate if the values in the list change
* @param depth The depth to which to check equality
*/
export declare const useDeepUpdateEffect: (effect: () => void | (() => void | undefined), deps: ReadonlyArray<any>, depth?: number) => void;
//# sourceMappingURL=useDeepUpdateEffect.d.ts.map