useEffectSkipFirst Function

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: 12 June, 2024