Debian Codegraph @

node/@patternfly/react-core/dist/esm/helpers/useUnmountEffect.d.ts

raw
1 import { EffectCallback } from 'react';
2 /**
3 * A `useEffect`-like hook that only triggers when a component unmounts. Does not require a dependency list, as the effect callback will always be kept up to date.
4 */
5 export declare function useUnmountEffect(effect: EffectCallback): void;
6 //# sourceMappingURL=useUnmountEffect.d.ts.map