UNPKG

jotai

Version:

👻 Next gen state management that will spook you

6 lines (5 loc) • 260 B
import { useStore } from 'jotai/react'; import type { Atom } from 'jotai/vanilla'; type Options = Parameters<typeof useStore>[0]; export declare function useHydrateAtoms(values: Iterable<readonly [Atom<unknown>, unknown]>, options?: Options): void; export {};