forked from pmndrs/jotai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathutils.ts
24 lines (24 loc) · 1.07 KB
/
utils.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
export { RESET } from './utils/constants'
export { useSetAtom as useUpdateAtom } from 'jotai'
export { useAtomValue } from 'jotai'
export { atomWithReset } from './utils/atomWithReset'
export { useResetAtom } from './utils/useResetAtom'
export { useReducerAtom } from './utils/useReducerAtom'
export { atomWithReducer } from './utils/atomWithReducer'
export { atomFamily } from './utils/atomFamily'
export { selectAtom } from './utils/selectAtom'
export { useAtomCallback } from './utils/useAtomCallback'
export { freezeAtom, freezeAtomCreator } from './utils/freezeAtom'
export { splitAtom } from './utils/splitAtom'
export { atomWithDefault } from './utils/atomWithDefault'
export { waitForAll } from './utils/waitForAll'
export {
NO_STORAGE_VALUE as unstable_NO_STORAGE_VALUE,
atomWithStorage,
atomWithHash,
createJSONStorage,
} from './utils/atomWithStorage'
export { atomWithObservable } from './utils/atomWithObservable'
export { useHydrateAtoms } from './utils/useHydrateAtoms'
export { loadable } from './utils/loadable'
export { abortableAtom } from './utils/abortableAtom'