redefine function
Swaps the definition registered under `key` in live apps.
import { redefine } from '@dioramajs/diorama'function redefine(key: string, effect: Effect): voidParameters
| Name | Type | Description |
|---|---|---|
key | string | |
effect | Effect |
Also exported from @dioramajs/diorama/auto, @dioramajs/diorama/effects, @dioramajs/effects.
Defined in packages/effects/src/define.ts.