EffectOptions
Options of useEffect in its tracking form useEffect(fn, options).
Options of useEffect in its tracking form useEffect(fn, options).
Import#
ts
import type { EffectOptions } from "@shadow-js/core";
Signature#
ts
interface EffectOptions {
/**
* Label shown by devtools and diagnostics.
* @default undefined (the effect is unnamed)
*/
name?: string;
}
Members#
| Name | Type | Description |
|---|---|---|
name? |
name?: string |
Label shown by devtools and diagnostics. |