-
Notifications
You must be signed in to change notification settings - Fork 47.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SuspenseList to react-is (#20874)
This commit also adds explicit index.stable and index.experimental forks to the react-is package so that we can avoid exporting references to SuspenseList in a stable release.
- Loading branch information
Brian Vaughn
authored
Feb 25, 2021
1 parent
8336f19
commit 90bde65
Showing
4 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
* 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, | ||
unstable_SuspenseList, | ||
isAsyncMode, | ||
isConcurrentMode, | ||
isContextConsumer, | ||
isContextProvider, | ||
isElement, | ||
isForwardRef, | ||
isFragment, | ||
isLazy, | ||
isMemo, | ||
isPortal, | ||
isProfiler, | ||
isStrictMode, | ||
isSuspense, | ||
unstable_isSuspenseList, | ||
} from './src/ReactIs'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/** | ||
* 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, | ||
isAsyncMode, | ||
isConcurrentMode, | ||
isContextConsumer, | ||
isContextProvider, | ||
isElement, | ||
isForwardRef, | ||
isFragment, | ||
isLazy, | ||
isMemo, | ||
isPortal, | ||
isProfiler, | ||
isStrictMode, | ||
isSuspense, | ||
} from './src/ReactIs'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters