useGridStoreSelector composable
Subscribes to a GridStore and returns a computed snapshot of selector(store).
The selector re-runs when the store emits, when gridStoreSource changes, and when any
reactive values read inside the selector change (same idea as React’s useSyncExternalStore
getSnapshot running again on each render).
Tip
This API reference is automatically generated from the source code of the @jsoc/vue-grid package.
Signature
Parameters:| Name | Type | Default |
|---|---|---|
gridStoreSource | MaybeRefOrGetter<GridStore<C>> | |
selector | (gridStore: GridStore<C>) => T |