useStore
HookAPI 2[value, setValue] for a store, like useState shared by the toolbar's row, widgets and windows.
| Signature | useStore<T>(store: Store<T>): [T, SetState<T>] |
|---|---|
| Take it from | const { useStore } = Bundleware; |
Parameters
| Parameter | Type | Description |
|---|---|---|
store | Store<T> |
Return Value
| Type | [T, SetState<T>] |
|---|
Availability
| Applicable versions | API 2 and higher |
|---|---|
| Bundleware | 0.3.0, build 2026.10.30 |