mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Add missing Activity export to development mode (#34439)
This is exported in the prod version of ReactServer experimental but not the development version so we can't use it in fixtures from Server Components.
This commit is contained in:
1 parent
acada3035f
commit
3bf8ab430e
1 file changed
+2
@@ -17,6 +17,7 @@ import {
|
||||
REACT_SUSPENSE_TYPE,
|
||||
REACT_SUSPENSE_LIST_TYPE,
|
||||
REACT_VIEW_TRANSITION_TYPE,
|
||||
REACT_ACTIVITY_TYPE,
|
||||
} from 'shared/ReactSymbols';
|
||||
import {
|
||||
cloneElement,
|
||||
@@ -82,5 +83,6 @@ export {
|
||||
// Experimental
|
||||
REACT_SUSPENSE_LIST_TYPE as unstable_SuspenseList,
|
||||
REACT_VIEW_TRANSITION_TYPE as unstable_ViewTransition,
|
||||
REACT_ACTIVITY_TYPE as unstable_Activity,
|
||||
captureOwnerStack, // DEV-only
|
||||
};
|
||||
Reference in new issue
Block a user