@@ -134,6 +134,38 @@ export const retryLaneExpirationMs = 5000;
134134export  const  syncLaneExpirationMs  =  250 ; 
135135export  const  transitionLaneExpirationMs  =  5000 ; 
136136
137+ // ----------------------------------------------------------------------------- 
138+ // Ready for next major. 
139+ // 
140+ // __NEXT_MAJOR__ is an alias for __EXPERIMENTAL__. 
141+ // ----------------------------------------------------------------------------- 
142+ 
143+ // Not ready to break experimental yet. 
144+ export  const  disableLegacyContext  =  __NEXT_MAJOR__ ; 
145+ 
146+ // Not ready to break experimental yet. 
147+ // Disable javascript: URL strings in href for XSS protection. 
148+ export  const  disableJavaScriptURLs  =  __NEXT_MAJOR__ ; 
149+ 
150+ // Remove IE and MsApp specific workarounds for innerHTML 
151+ export  const  disableIEWorkarounds  =  __NEXT_MAJOR__ ; 
152+ 
153+ // Changes the behavior for rendering custom elements in both server rendering 
154+ // and client rendering, mostly to allow JSX attributes to apply to the custom 
155+ // element's object properties instead of only HTML attributes. 
156+ // https://github.com/facebook/react/issues/11347 
157+ export  const  enableCustomElementPropertySupport  =  __NEXT_MAJOR__ ; 
158+ 
159+ // Filter certain DOM attributes (e.g. src, href) if their values are empty 
160+ // strings. This prevents e.g. <img src=""> from making an unnecessary HTTP 
161+ // request for certain browsers. 
162+ export  const  enableFilterEmptyStringAttributesDOM  =  __NEXT_MAJOR__ ; 
163+ 
164+ // Modern <StrictMode /> behaviour aligns more with what components 
165+ // components will encounter in production, especially when used With <Offscreen />. 
166+ // TODO: clean up legacy <StrictMode /> once tests pass WWW. 
167+ export  const  useModernStrictMode  =  __NEXT_MAJOR__ ; 
168+ 
137169// ----------------------------------------------------------------------------- 
138170// Chopping Block 
139171// 
@@ -150,8 +182,6 @@ export const createRootStrictEffectsByDefault = false;
150182
151183export  const  disableModulePatternComponents  =  false ; 
152184
153- export  const  disableLegacyContext  =  false ; 
154- 
155185export  const  enableUseRefAccessWarning  =  false ; 
156186
157187// Enables time slicing for updates that aren't wrapped in startTransition. 
@@ -173,29 +203,12 @@ export const allowConcurrentByDefault = false;
173203// in open source, but www codebase still relies on it. Need to remove. 
174204export  const  disableCommentsAsDOMContainers  =  true ; 
175205
176- // Disable javascript: URL strings in href for XSS protection. 
177- export  const  disableJavaScriptURLs  =  false ; 
178- 
179206export  const  enableTrustedTypesIntegration  =  false ; 
180207
181208// Prevent the value and checked attributes from syncing with their related 
182209// DOM properties 
183210export  const  disableInputAttributeSyncing  =  false ; 
184211
185- // Remove IE and MsApp specific workarounds for innerHTML 
186- export  const  disableIEWorkarounds  =  __EXPERIMENTAL__ ; 
187- 
188- // Filter certain DOM attributes (e.g. src, href) if their values are empty 
189- // strings. This prevents e.g. <img src=""> from making an unnecessary HTTP 
190- // request for certain browsers. 
191- export  const  enableFilterEmptyStringAttributesDOM  =  __EXPERIMENTAL__ ; 
192- 
193- // Changes the behavior for rendering custom elements in both server rendering 
194- // and client rendering, mostly to allow JSX attributes to apply to the custom 
195- // element's object properties instead of only HTML attributes. 
196- // https://github.com/facebook/react/issues/11347 
197- export  const  enableCustomElementPropertySupport  =  __EXPERIMENTAL__ ; 
198- 
199212// Disables children for <textarea> elements 
200213export  const  disableTextareaChildren  =  false ; 
201214
@@ -245,8 +258,4 @@ export const enableProfilerNestedUpdateScheduledHook = false;
245258
246259export  const  consoleManagedByDevToolsDuringStrictMode  =  true ; 
247260
248- // Modern <StrictMode /> behaviour aligns more with what components 
249- // components will encounter in production, especially when used With <Offscreen />. 
250- // TODO: clean up legacy <StrictMode /> once tests pass WWW. 
251- export  const  useModernStrictMode  =  false ; 
252261export  const  enableDO_NOT_USE_disableStrictPassiveEffect  =  false ; 
0 commit comments