Open History to see the last commit
Call Signature#
function createAtom<T>(getValue, options?): ReadonlyAtom<T>;
Defined in: atom.ts:146
Type Parameters#
T#
T
Parameters#
getValue#
(prev?) => T
options?#
AtomOptions<T>
Returns#
ReadonlyAtom<T>
Call Signature#
function createAtom<T>(initialValue, options?): Atom<T>;
Defined in: atom.ts:150
Type Parameters#
T#
T
Parameters#
initialValue#
T
options?#
AtomOptions<T>
Returns#
Atom<T>