mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +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:
@@ -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