Skip to content

1681-engine / react / SelectingHook

Type Alias: SelectingHook<S> ​

ts
type SelectingHook<S> = (select) => string;

Defined in: src/react/useJsonSelector.ts:6

A store hook that selects (zustand's useStore, or (sel) => useStore(store, sel)).

Type Parameters ​

Type Parameter
S

Parameters ​

ParameterType
select(state) => string

Returns ​

string

Released under the MIT License.