useEffectSkipFirst Function

Deprecated  in 4.15.0. Use useEffect instead.

Custom hook which works like useEffect hook, but does not invoke callback when effect is triggered for the first time.

useEffectSkipFirst(callback: () => void | () => undefined | void, deps?: any[]): void

Parameter Type Description
callback () => void | () => undefined | void  
deps any[]  

Returns - void

Defined in

Last Updated: 17 December, 2024