Skip to content

Commit 3bf8ab4

Browse files
authored
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.
1 parent acada30 commit 3bf8ab4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react/src/ReactServer.experimental.development.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717
REACT_SUSPENSE_TYPE,
1818
REACT_SUSPENSE_LIST_TYPE,
1919
REACT_VIEW_TRANSITION_TYPE,
20+
REACT_ACTIVITY_TYPE,
2021
} from 'shared/ReactSymbols';
2122
import {
2223
cloneElement,
@@ -82,5 +83,6 @@ export {
8283
// Experimental
8384
REACT_SUSPENSE_LIST_TYPE as unstable_SuspenseList,
8485
REACT_VIEW_TRANSITION_TYPE as unstable_ViewTransition,
86+
REACT_ACTIVITY_TYPE as unstable_Activity,
8587
captureOwnerStack, // DEV-only
8688
};

0 commit comments

Comments
 (0)