A callback passed to the effect function that makes it possible to register cleanup logic.
API
type EffectCleanupRegisterFn = (cleanupFn: EffectCleanupFn) => void
Jump to details
A callback passed to the effect function that makes it possible to register cleanup logic.
type EffectCleanupRegisterFn = (cleanupFn: EffectCleanupFn) => void