ThingAdapterOptions
Defined in: index.ts:11
Options for createThingStore and createThingStoreSync.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
atom? | any | Use an existing Atom<T> instead of creating one. Lets vanilla thi.ng code (cursors, views, additional watches) interoperate with the action-driven state — same store, two surfaces. | index.ts:17 |
history? | boolean | { maxLen?: number; } | Wrap the atom in History for undo/redo. Pass true for default settings or an object with maxLen to customize the undo-stack depth. When enabled, every dispatched action becomes an undoable step. | index.ts:23 |