package.dist.esm.helpers.useUnmountEffect.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of react-core Show documentation
Show all versions of react-core Show documentation
This library provides a set of common React components for use with the PatternFly reference implementation.
The newest version!
import { EffectCallback } from 'react';
/**
* 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.
*/
export declare function useUnmountEffect(effect: EffectCallback): void;
//# sourceMappingURL=useUnmountEffect.d.ts.map