jotai
Version:
👻 Next gen state management that will spook you
10 lines (9 loc) • 368 B
TypeScript
import { useAtomsSnapshot } from './useAtomsSnapshot';
type Scope = NonNullable<Parameters<typeof useAtomsSnapshot>[0]>;
type DevtoolsOptions = {
scope?: Scope;
enabled?: boolean;
};
export declare function useAtomsDevtools(name: string, options?: DevtoolsOptions): void;
export declare function useAtomsDevtools(name: string, scope?: Scope): void;
export {};