UNPKG

1.29 kBTypeScriptView Raw
1export { RESET } from './utils/constants';
2export { atomWithReset } from './utils/atomWithReset';
3export { useResetAtom } from './utils/useResetAtom';
4export { useReducerAtom } from './utils/useReducerAtom';
5export { atomWithReducer } from './utils/atomWithReducer';
6export { atomFamily } from './utils/atomFamily';
7export { selectAtom } from './utils/selectAtom';
8export { useAtomCallback } from './utils/useAtomCallback';
9export { freezeAtom, freezeAtomCreator } from './utils/freezeAtom';
10export { splitAtom } from './utils/splitAtom';
11export { atomWithDefault } from './utils/atomWithDefault';
12export { waitForAll } from './utils/waitForAll';
13export { NO_STORAGE_VALUE as unstable_NO_STORAGE_VALUE, atomWithStorage, atomWithHash, createJSONStorage, } from './utils/atomWithStorage';
14export { atomWithObservable } from './utils/atomWithObservable';
15export { useHydrateAtoms } from './utils/useHydrateAtoms';
16export { loadable } from './utils/loadable';
17export { abortableAtom } from './utils/abortableAtom';
18import * as Jotai from 'jotai';
19/**
20 * @deprecated use `useAtomValue` from `jotai` instead
21 */
22export declare const useAtomValue: typeof Jotai.useAtomValue;
23/**
24 * @deprecated use `useSetAtom` from `jotai` instead
25 */
26export declare const useUpdateAtom: typeof Jotai.useSetAtom;