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

x/jotai/src/vanilla/atom.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.2/src/vanilla/atom.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