UNPKG

@bigmi/react

Version:

React primitives for Bitcoin apps.

2 lines (1 loc) 326 B
export declare function useSyncExternalStoreWithTracked<Snapshot extends Selection, Selection = Snapshot>(subscribe: (onStoreChange: () => void) => () => void, getSnapshot: () => Snapshot, getServerSnapshot?: (() => Snapshot) | undefined, isEqual?: (a: Selection, b: Selection) => boolean): Snapshot | NonNullable<Selection>;