UNPKG

pullstate

Version:

Simple state stores using immer and React hooks

7 lines (6 loc) 234 B
interface IBatchState { uiBatchFunction: ((updates: () => void) => void); } export declare function setupBatch({ uiBatchFunction }: IBatchState): void; export declare function batch(runUpdates: () => void): void; export {};