File tree Expand file tree Collapse file tree 3 files changed +4
-16
lines changed Expand file tree Collapse file tree 3 files changed +4
-16
lines changed Original file line number Diff line number Diff line change 1- /**
2- * Copyright (c) Meta Platforms, Inc. and affiliates.
3- *
4- * This source code is licensed under the MIT license found in the
5- * LICENSE file in the root directory of this source tree.
6- */
7-
8- // TODO: this is special because it gets imported during build.
9- //
10- // It exists as a placeholder so that DevTools can support work tag changes between releases.
11- // When we next publish a release, update the matching TODO in backend/renderer.js
12- // TODO: This module is used both by the release scripts and to expose a version
13- // at runtime. We should instead inject the version number as part of the build
14- // process, and use the ReactVersions.js module as the single source of truth.
15- export default '19.1.0' ;
1+ export default '19.2.0-canary-22664b2a-20250618' ;
Original file line number Diff line number Diff line change @@ -26,3 +26,4 @@ export const passChildrenWhenCloningPersistedNodes = __VARIANT__;
2626export const enableLazyPublicInstanceInFabric = __VARIANT__ ;
2727export const renameElementSymbol = __VARIANT__ ;
2828export const enableFragmentRefs = __VARIANT__ ;
29+ export const enableComponentPerformanceTrack = __VARIANT__ ;
Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ export const enableProfilerTimer = __PROFILE__;
5959export const enableReactTestRendererWarning = false ;
6060export const enableRetryLaneExpiration = false ;
6161export const enableSchedulingProfiler = __PROFILE__ ;
62- export const enableComponentPerformanceTrack = false ;
6362export const enableScopeAPI = false ;
6463export const enableSuspenseAvoidThisFallback = false ;
6564export const enableSuspenseCallback = true ;
@@ -84,6 +83,8 @@ export const enableSrcObject = false;
8483export const enableHydrationChangeEvent = true ;
8584export const enableDefaultTransitionIndicator = false ;
8685export const ownerStackLimit = 1e4 ;
86+ export const enableComponentPerformanceTrack : boolean =
87+ __PROFILE__ && dynamicFlags . enableComponentPerformanceTrack ;
8788
8889// Flow magic to verify the exports of this file match the original version.
8990( ( ( ( null : any ) : ExportsType ) : FeatureFlagsType ) : ExportsType ) ;
You can’t perform that action at this time.
0 commit comments