@@ -44,10 +44,6 @@ export function addUserTimingListener() {
4444// Disable javascript: URL strings in href for XSS protection.
4545export const disableJavaScriptURLs = false ;
4646
47- // These APIs will no longer be "unstable" in the upcoming 16.7 release,
48- // Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
49- export const exposeConcurrentModeAPIs = __EXPERIMENTAL__ ;
50-
5147// Warns when a combination of updates on a dom can cause a style declaration
5248// that clashes with a previous one https://github.com/facebook/react/pull/14181
5349export const warnAboutShorthandPropertyCollision = true ;
@@ -107,10 +103,6 @@ export const runAllPassiveEffectDestroysBeforeCreates = false;
107103// WARNING This flag only has an affect if used with runAllPassiveEffectDestroysBeforeCreates.
108104export const deferPassiveEffectCleanupDuringUnmount = false ;
109105
110- // Use this flag to generate "testing" builds, that include APIs like act()
111- // and extra warnings/errors
112- export const isTestEnvironment = false ;
113-
114106// Enables a warning when trying to spread a 'key' to an element;
115107// a deprecated pattern we want to get rid of in the future
116108export const warnAboutSpreadingKeyToJSX = false ;
@@ -127,22 +119,14 @@ export const warnAboutStringRefs = false;
127119
128120export const disableLegacyContext = false ;
129121
130- // Disables hydrate, render, findDOMNode, unmountComponentAtNode
131- export const disableLegacyReactDOMAPIs = false ;
132-
133122// Disables children for <textarea> elements
134123export const disableTextareaChildren = false ;
135124
136125// Disables Maps as ReactElement children
137126export const disableMapsAsChildren = false ;
138127
139- // Disables ReactDOM.unstable_renderSubtreeIntoContainer
140- export const disableUnstableRenderSubtreeIntoContainer = false ;
141128// We should remove this flag once the above flag becomes enabled
142129export const warnUnstableRenderSubtreeIntoContainer = false ;
143130
144- // Disables ReactDOM.unstable_createPortal
145- export const disableUnstableCreatePortal = false ;
146-
147131// Modern event system where events get registered at roots
148132export const enableModernEventSystem = false ;
0 commit comments