@@ -27,7 +27,6 @@ import {createRef} from './ReactCreateRef';
2727import { forEach , map , count , toArray , only } from './ReactChildren' ;
2828import {
2929 createElement as createElementProd ,
30- createFactory as createFactoryProd ,
3130 cloneElement as cloneElementProd ,
3231 isValidElement ,
3332} from './ReactElement' ;
@@ -63,7 +62,6 @@ import {
6362} from './ReactHooks' ;
6463import {
6564 createElementWithValidation ,
66- createFactoryWithValidation ,
6765 cloneElementWithValidation ,
6866} from './ReactElementValidator' ;
6967import { createServerContext } from './ReactServerContext' ;
@@ -78,9 +76,6 @@ const createElement: any = __DEV__
7876const cloneElement : any = __DEV__
7977 ? cloneElementWithValidation
8078 : cloneElementProd ;
81- const createFactory : any = __DEV__
82- ? createFactoryWithValidation
83- : createFactoryProd ;
8479
8580const Children = {
8681 map,
@@ -126,8 +121,6 @@ export {
126121 isValidElement ,
127122 ReactVersion as version ,
128123 ReactSharedInternals as __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED ,
129- // Deprecated behind disableCreateFactory
130- createFactory ,
131124 // Concurrent Mode
132125 useTransition ,
133126 startTransition ,
0 commit comments