@@ -13,7 +13,7 @@ import type {
13
13
ReactFundamentalComponentInstance ,
14
14
} from 'shared/ReactTypes' ;
15
15
16
- import { enableFlareAPI } from 'shared/ReactFeatureFlags' ;
16
+ import { enableDeprecatedFlareAPI } from 'shared/ReactFeatureFlags' ;
17
17
18
18
export type Type = string ;
19
19
export type Props = Object ;
@@ -147,7 +147,7 @@ export function createInstance(
147
147
internalInstanceHandle : Object ,
148
148
) : Instance {
149
149
let propsToUse = props ;
150
- if ( enableFlareAPI ) {
150
+ if ( enableDeprecatedFlareAPI ) {
151
151
if ( props . DEPRECATED_flareListeners != null ) {
152
152
// We want to remove the "DEPRECATED_flareListeners" prop
153
153
// as we don't want it in the test renderer's
@@ -214,7 +214,7 @@ export function createTextInstance(
214
214
internalInstanceHandle : Object ,
215
215
) : TextInstance {
216
216
if ( __DEV__ ) {
217
- if ( enableFlareAPI ) {
217
+ if ( enableDeprecatedFlareAPI ) {
218
218
if ( hostContext === EVENT_COMPONENT_CONTEXT ) {
219
219
console . error (
220
220
'validateDOMNesting: React event components cannot have text DOM nodes as children. ' +
@@ -300,7 +300,7 @@ export function unhideTextInstance(
300
300
textInstance .isHidden = false ;
301
301
}
302
302
303
- export function mountResponderInstance (
303
+ export function DEPRECATED_mountResponderInstance (
304
304
responder : ReactEventResponder < any , any > ,
305
305
responderInstance : ReactEventResponderInstance < any , any > ,
306
306
props : Object ,
@@ -310,7 +310,7 @@ export function mountResponderInstance(
310
310
// noop
311
311
}
312
312
313
- export function unmountResponderInstance (
313
+ export function DEPRECATED_unmountResponderInstance (
314
314
responderInstance : ReactEventResponderInstance < any , any > ,
315
315
) : void {
316
316
// noop
0 commit comments