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: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.