@launchmenu/core
Version:
An environment for visual keyboard controlled applets
7 lines • 428 B
TypeScript
/**
* Performs the given effect only on component updates, not on the first render
* @param effect Imperative function that can return a cleanup function
* @param deps If present, effect will only activate if the values in the list change.
*/
export declare const useUpdateEffect: (effect: () => void | (() => void | undefined), deps?: readonly any[] | undefined) => void;
//# sourceMappingURL=useUpdateEffect.d.ts.map