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.
Sebastian Markbåge committed
Sep 9, 2025 at 21:30 UTC
3bf8ab430eb2182e787e0f1c74c0d9ccab89e4ac
1 file changed
+2
packages/react/src/ReactServer.experimental.development.js
+2
@@ -17,6 +17,7 @@ import {
17
REACT_SUSPENSE_TYPE,
18
REACT_SUSPENSE_LIST_TYPE,
19
REACT_VIEW_TRANSITION_TYPE,
20
+ REACT_ACTIVITY_TYPE,
21
} from 'shared/ReactSymbols';
22
import {
23
cloneElement,
@@ -82,5 +83,6 @@ export {
83
// Experimental
84
REACT_SUSPENSE_LIST_TYPE as unstable_SuspenseList,
85
REACT_VIEW_TRANSITION_TYPE as unstable_ViewTransition,
86
+ REACT_ACTIVITY_TYPE as unstable_Activity,
87
captureOwnerStack, // DEV-only
88
};