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

x/jotai/src/vanilla/utils/atomWithLazy.ts>atomWithLazy

👻 Primitive and flexible state management for React
Latest
function atomWithLazy
import { atomWithLazy } from "https://deno.land/x/jotai@v2.10.2/src/vanilla/utils/atomWithLazy.ts";

Parameters

makeInitial: () => Value

Returns

PrimitiveAtom<Value>