-
Notifications
You must be signed in to change notification settings - Fork 47k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added SuspenseList to react-is experimental release
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
committed
Feb 25, 2021
1 parent
4190a34
commit c4090d2
Showing
4 changed files
with
96 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, | ||
SuspenseList, | ||
isAsyncMode, | ||
isConcurrentMode, | ||
isContextConsumer, | ||
isContextProvider, | ||
isElement, | ||
isForwardRef, | ||
isFragment, | ||
isLazy, | ||
isMemo, | ||
isPortal, | ||
isProfiler, | ||
isStrictMode, | ||
isSuspense, | ||
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