Function: useEffect()
useEffect(
effect:EffectCallback,deps?:DependencyList):void
Accepts a function that contains imperative, possibly effectful code. The effects run after main thread dom update without blocking it.
Parameters
Returns
void
useEffect(
effect:EffectCallback,deps?:DependencyList):void
Accepts a function that contains imperative, possibly effectful code. The effects run after main thread dom update without blocking it.
void