diff --git a/packages/react-native/Libraries/ReactNative/AppContainer.js b/packages/react-native/Libraries/ReactNative/AppContainer.js index 247b5c44aa3172..6ad1aa217ab5f9 100644 --- a/packages/react-native/Libraries/ReactNative/AppContainer.js +++ b/packages/react-native/Libraries/ReactNative/AppContainer.js @@ -22,7 +22,6 @@ const reactDevToolsHook = window.__REACT_DEVTOOLS_GLOBAL_HOOK__; type Props = $ReadOnly<{| children?: React.Node, fabric?: boolean, - useConcurrentRoot?: boolean, rootTag: number | RootTag, initialProps?: {...}, showArchitectureIndicator?: boolean, diff --git a/packages/react-native/Libraries/ReactNative/renderApplication.js b/packages/react-native/Libraries/ReactNative/renderApplication.js index 7a3aeb2e60dfe5..e980b004acf676 100644 --- a/packages/react-native/Libraries/ReactNative/renderApplication.js +++ b/packages/react-native/Libraries/ReactNative/renderApplication.js @@ -83,6 +83,12 @@ export default function renderApplication( ); } + if (fabric && !useConcurrentRoot) { + console.warn( + 'Using Fabric without concurrent root is deprecated. Please enable concurrent root for this application.', + ); + } + performanceLogger.startTimespan('renderApplication_React_render'); performanceLogger.setExtra( 'usedReactConcurrentRoot',