@@ -24,7 +24,6 @@ import {
2424 createFactory as createFactoryProd ,
2525 cloneElement as cloneElementProd ,
2626 isValidElement ,
27- jsx as jsxProd ,
2827} from './ReactElement' ;
2928import { createContext } from './ReactContext' ;
3029import { lazy } from './ReactLazy' ;
@@ -52,9 +51,6 @@ import {
5251 createElementWithValidation ,
5352 createFactoryWithValidation ,
5453 cloneElementWithValidation ,
55- jsxWithValidation ,
56- jsxWithValidationStatic ,
57- jsxWithValidationDynamic ,
5854} from './ReactElementValidator' ;
5955import createMutableSource from './createMutableSource' ;
6056import ReactSharedInternals from './ReactSharedInternals' ;
@@ -67,12 +63,6 @@ const createElement = __DEV__ ? createElementWithValidation : createElementProd;
6763const cloneElement = __DEV__ ? cloneElementWithValidation : cloneElementProd ;
6864const createFactory = __DEV__ ? createFactoryWithValidation : createFactoryProd ;
6965
70- const jsxDEV = __DEV__ ? jsxWithValidation : undefined ;
71- const jsx = __DEV__ ? jsxWithValidationDynamic : jsxProd ;
72- // we may want to special case jsxs internally to take advantage of static children.
73- // for now we can ship identical prod functions
74- const jsxs = __DEV__ ? jsxWithValidationStatic : jsxProd ;
75-
7666const Children = {
7767 map,
7868 forEach,
@@ -127,9 +117,4 @@ export {
127117 createFundamental as unstable_createFundamental ,
128118 // enableScopeAPI
129119 createScope as unstable_createScope ,
130- // enableJSXTransformAPI
131- jsx ,
132- jsxs ,
133- // TODO: jsxDEV should not be exposed as a name. We might want to move it to a different entry point.
134- jsxDEV ,
135120} ;
0 commit comments