Skip to content

Commit f22aea7

Browse files
committed
Keep unconditional FB export
1 parent 79e63b5 commit f22aea7

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

packages/react/src/ReactServer.fb.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
* @flow
88
*/
99

10-
import {enableViewTransition} from 'shared/ReactFeatureFlags';
11-
1210
export {default as __SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE} from './ReactSharedInternalsServer';
1311

1412
import {forEach, map, count, toArray, only} from './ReactChildren';
@@ -48,20 +46,15 @@ if (__DEV__) {
4846
captureOwnerStack = captureOwnerStackImpl;
4947
}
5048

51-
let ViewTransition: ?symbol;
52-
if (enableViewTransition) {
53-
ViewTransition = REACT_VIEW_TRANSITION_TYPE;
54-
}
55-
5649
export {
5750
Children,
5851
REACT_ACTIVITY_TYPE as Activity,
5952
REACT_FRAGMENT_TYPE as Fragment,
6053
REACT_PROFILER_TYPE as Profiler,
6154
REACT_STRICT_MODE_TYPE as StrictMode,
6255
REACT_SUSPENSE_TYPE as Suspense,
63-
ViewTransition,
64-
ViewTransition as unstable_ViewTransition,
56+
REACT_VIEW_TRANSITION_TYPE as ViewTransition,
57+
REACT_VIEW_TRANSITION_TYPE as unstable_ViewTransition,
6558
cloneElement,
6659
createElement,
6760
createRef,

0 commit comments

Comments
 (0)