File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 77 * @flow
88 */
99
10- import { enableDebugTracing } from './ReactFeatureFlags' ;
11-
1210// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
1311// nor polyfill, then a plain number is used for performance.
1412export let REACT_ELEMENT_TYPE = 0xeac7 ;
@@ -29,10 +27,7 @@ export let REACT_FUNDAMENTAL_TYPE = 0xead5;
2927export let REACT_RESPONDER_TYPE = 0xead6 ;
3028export let REACT_SCOPE_TYPE = 0xead7 ;
3129export let REACT_OPAQUE_ID_TYPE = 0xeae0 ;
32- export let REACT_DEBUG_TRACING_MODE_TYPE ;
33- if ( enableDebugTracing ) {
34- REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1 ;
35- }
30+ export let REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1 ;
3631
3732if ( typeof Symbol === 'function' && Symbol . for ) {
3833 const symbolFor = Symbol . for ;
@@ -54,9 +49,7 @@ if (typeof Symbol === 'function' && Symbol.for) {
5449 REACT_RESPONDER_TYPE = symbolFor ( 'react.responder' ) ;
5550 REACT_SCOPE_TYPE = symbolFor ( 'react.scope' ) ;
5651 REACT_OPAQUE_ID_TYPE = symbolFor ( 'react.opaque.id' ) ;
57- if ( enableDebugTracing ) {
58- REACT_DEBUG_TRACING_MODE_TYPE = symbolFor ( 'react.debug_trace_mode' ) ;
59- }
52+ REACT_DEBUG_TRACING_MODE_TYPE = symbolFor ( 'react.debug_trace_mode' ) ;
6053}
6154
6255const MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol . iterator ;
You can’t perform that action at this time.
0 commit comments