File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ export const {
34
34
enableTransitionEntanglement,
35
35
enableDiscreteEventMicroTasks,
36
36
bypassStrictEffectsModeDevWarningForFacebookOnly,
37
+ enableStrictEffectsModeDevWarningForFacebookOnly,
37
38
} = dynamicFeatureFlags ;
38
39
39
40
// On WWW, __EXPERIMENTAL__ is used for a new modern build.
@@ -49,12 +50,6 @@ export const enableProfilerNestedUpdateScheduledHook =
49
50
export const enableSchedulingProfiler =
50
51
__PROFILE__ && dynamicFeatureFlags . enableSchedulingProfiler ;
51
52
52
- // Add extra __DEV__ conditional so that this warning can be removed from production builds.
53
- // After all, strict effects mode itself is only run in DEV mode.
54
- export const enableStrictEffectsModeDevWarningForFacebookOnly =
55
- __DEV__ &&
56
- dynamicFeatureFlags . enableStrictEffectsModeDevWarningForFacebookOnly ;
57
-
58
53
// Note: we'll want to remove this when we to userland implementation.
59
54
// For now, we'll turn it on for everyone because it's *already* on for everyone in practice.
60
55
// At least this will let us stop shipping <Profiler> implementation to all users.
You can’t perform that action at this time.
0 commit comments