UNPKG

@mui/x-internals

Version:

Utility functions for the MUI X packages (internal use only).

8 lines 309 B
import * as React from 'react'; /** * Run an effect only after the first render. * * @param effect The effect to run after the first render * @param deps The dependencies for the effect */ export declare function useEffectAfterFirstRender(effect: React.EffectCallback, deps?: React.DependencyList): void;