Skip to main content
Module

x/jotai/src/vanilla.ts>Atom

👻 Primitive and flexible state management for React
Go to Latest
interface Atom
import { type Atom } from "https://deno.land/x/jotai@v2.7.1/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