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

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

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

Type Parameters

Param
AtomType extends Atom<unknown>

Parameters

initializeAtom: (param: Param) => AtomType
optional
areEqual: (a: Param, b: Param) => boolean