All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.esm.helpers.useUnmountEffect.d.ts Maven / Gradle / Ivy

Go to download

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy