StoreOptions
Options of useStore.
Options of useStore.
Import#
ts
import type { StoreOptions } from "@shadow-js/core";
Signature#
ts
interface StoreOptions {
/**
* Label shown in error messages and by devtools.
* @default undefined (the store is unnamed)
*/
name?: string;
}
Members#
| Name | Type | Description |
|---|---|---|
name? |
name?: string |
Label shown in error messages and by devtools. |