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

x/jotai/src/vanilla.ts>Atom

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

Properties

toString: () => string
read: Read<Value>
optional
debugLabel: string
optional
debugPrivate: boolean

To ONLY be used by Jotai libraries to mark atoms as private. Subject to change.

Methods

optional
unstable_is(a: Atom<unknown>): boolean