Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/jotai/src/react/utils/useHydrateAtoms.ts>useHydrateAtoms

👻 Primitive and flexible state management for React
Go to Latest
function useHydrateAtoms
import { useHydrateAtoms } from "https://deno.land/x/jotai@v2.1.1/src/react/utils/useHydrateAtoms.ts";

Type Parameters

T extends Array<AtomTuple>

Parameters

values: InferAtoms<T>
optional
options: Options

Type Parameters

T extends AtomMap

Parameters

values: T
optional
options: Options

Type Parameters

T extends Iterable<AtomTuple>

Parameters

values: InferAtoms<T>
optional
options: Options