@@ -102,7 +102,7 @@ export type NoTimeout = -1;
102102
103103import {
104104 enableSuspenseServerRenderer ,
105- enableEventAPI ,
105+ enableFlareAPI ,
106106} from 'shared/ReactFeatureFlags' ;
107107import warning from 'shared/warning' ;
108108
@@ -330,7 +330,7 @@ export function createTextInstance(
330330 if ( __DEV__ ) {
331331 const hostContextDev = ( ( hostContext : any ) : HostContextDev ) ;
332332 validateDOMNesting ( null , text , hostContextDev . ancestorInfo ) ;
333- if ( enableEventAPI ) {
333+ if ( enableFlareAPI ) {
334334 const eventData = hostContextDev . eventData ;
335335 if ( eventData !== null ) {
336336 warning (
@@ -845,7 +845,7 @@ export function didNotFindHydratableSuspenseInstance(
845845export function mountEventComponent (
846846 eventComponentInstance : ReactDOMEventComponentInstance ,
847847) : void {
848- if ( enableEventAPI ) {
848+ if ( enableFlareAPI ) {
849849 const rootContainerInstance = ( ( eventComponentInstance . rootInstance : any ) : Container ) ;
850850 const doc = rootContainerInstance . ownerDocument ;
851851 const documentBody = doc . body || doc ;
@@ -877,7 +877,7 @@ export function updateEventComponent(
877877export function unmountEventComponent (
878878 eventComponentInstance : ReactDOMEventComponentInstance ,
879879) : void {
880- if ( enableEventAPI ) {
880+ if ( enableFlareAPI ) {
881881 // TODO stop listening to targetEventTypes
882882 unmountEventResponder ( eventComponentInstance ) ;
883883 }
0 commit comments