Create a global Effect
for the given reactive function.
API
effect( effectFn: (onCleanup: EffectCleanupRegisterFn) => void, options?: CreateEffectOptions): EffectRef;
Jump to details
Create a global Effect
for the given reactive function.
effect( effectFn: (onCleanup: EffectCleanupRegisterFn) => void, options?: CreateEffectOptions): EffectRef;