Effects
useUpdateEffect
A useEffect that skips the initial mount and runs only on updates.
API
useUpdateEffect(effect: EffectCallback, deps?: DependencyList): voidEffects
A useEffect that skips the initial mount and runs only on updates.
useUpdateEffect(effect: EffectCallback, deps?: DependencyList): void