Skip to content

@acoolhq/react-tiny-store


@acoolhq/react-tiny-store / RootFns

Type Alias: RootFns<T>

RootFns<T> = Record<string, (root, ...a) => T>

Defined in: hooks.ts:140

Map of pure root updaters (root, ...args) => nextRoot. Must return a new root.

Type Parameters

T

T

Root state.