UNPKG

react-hooks-global-states

Version:

This is a package to easily handling global-state across your react-components using hooks.

11 lines (10 loc) 498 B
declare const debugProps: typeof globalThis & { REACT_GLOBAL_STATE_HOOK_DEBUG?: ($this: unknown, args: undefined | {}, invokerStackHash: string) => void; REACT_GLOBAL_STATE_TEMP_HOOKS: Map<string, [unknown, unknown]> | null; sessionStorage?: { getItem: (key: string) => string | null; }; isDevToolsPresent: boolean; reportToDevTools: (store: Record<string, unknown>, args: Record<string, unknown>, globalHookStackHash: string) => void; }; export default debugProps;