UNPKG

overwatch-ts

Version:

A blazing-fast, zero-boilerplate state management library for React & Next.js

7 lines (6 loc) 280 B
import { ServerStore } from '../core-utils/createServerStore'; interface PickerOptions<T> { store?: ServerStore; } export declare function usePicker<T, S>(key: string, selector: (state: T) => S, equalityFn?: (a: S, b: S) => boolean, options?: PickerOptions<T>): S; export {};