-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathreact.ts
More file actions
47 lines (47 loc) · 852 Bytes
/
react.ts
File metadata and controls
47 lines (47 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Until https://github.com/facebook/react/issues/10021 is fixed,
// we have to list every single export
export {
Activity,
Children,
Component,
Fragment,
Profiler,
PureComponent,
StrictMode,
Suspense,
act,
cache,
cloneElement,
createContext,
createElement,
createRef,
forwardRef,
isValidElement,
lazy,
memo,
startTransition,
use,
useActionState,
useCallback,
useContext,
useDebugValue,
useDeferredValue,
useEffect,
useEffectEvent,
useId,
useImperativeHandle,
useInsertionEffect,
useLayoutEffect,
useMemo,
useOptimistic,
useReducer,
useRef,
useState,
useSyncExternalStore,
useTransition,
version,
// Default export too
default,
// @ts-expect-error Expose react internals for react-dom
__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
} from "react";