mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
The following APIs have been added to the `react` stable entry point: * `SuspenseList` * `startTransition` * `unstable_createMutableSource` * `unstable_useMutableSource` * `useDeferredValue` * `useTransition` The following APIs have been added or removed from the `react-dom` stable entry point: * `createRoot` * `unstable_createPortal` (removed) The following APIs have been added to the `react-is` stable entry point: * `SuspenseList` * `isSuspenseList` The following feature flags have been changed from experimental to true: * `enableLazyElements` * `enableSelectiveHydration` * `enableSuspenseServerRenderer`
42 lines
651 B
JavaScript
42 lines
651 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
export {
|
|
isValidElementType,
|
|
typeOf,
|
|
ContextConsumer,
|
|
ContextProvider,
|
|
Element,
|
|
ForwardRef,
|
|
Fragment,
|
|
Lazy,
|
|
Memo,
|
|
Portal,
|
|
Profiler,
|
|
StrictMode,
|
|
Suspense,
|
|
SuspenseList,
|
|
isAsyncMode,
|
|
isConcurrentMode,
|
|
isContextConsumer,
|
|
isContextProvider,
|
|
isElement,
|
|
isForwardRef,
|
|
isFragment,
|
|
isLazy,
|
|
isMemo,
|
|
isPortal,
|
|
isProfiler,
|
|
isStrictMode,
|
|
isSuspense,
|
|
isSuspenseList,
|
|
} from './src/ReactIs';
|