UNPKG

684 BTypeScriptView Raw
1export { Provider } from './core/Provider';
2export { atom } from './core/atom';
3export { useAtom } from './core/useAtom';
4export { useAtomValue } from './core/useAtomValue';
5export { useSetAtom } from './core/useSetAtom';
6export { createStoreForExport as unstable_createStore } from './core/store';
7export type { Atom, WritableAtom, PrimitiveAtom } from './core/atom';
8export type { Getter, Setter, ExtractAtomValue, ExtractAtomUpdate, SetStateAction, } from './core/typeUtils';
9/**
10 * This is exported for internal use only.
11 * It can change without notice. Do not use it in application code.
12 */
13export { getScopeContext as SECRET_INTERNAL_getScopeContext } from './core/contexts';