From a59ab18ee0680c57d2c4ddcfcc03c720e9d73992 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Thu, 29 Mar 2018 20:25:20 +0100 Subject: [PATCH] Disable createRoot for open source builds (#12486) --- packages/shared/ReactFeatureFlags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared/ReactFeatureFlags.js b/packages/shared/ReactFeatureFlags.js index b20bd56a398b3..8e1a80ffac8e7 100644 --- a/packages/shared/ReactFeatureFlags.js +++ b/packages/shared/ReactFeatureFlags.js @@ -10,7 +10,7 @@ import invariant from 'fbjs/lib/invariant'; // Exports ReactDOM.createRoot -export const enableCreateRoot = true; +export const enableCreateRoot = false; export const enableUserTimingAPI = __DEV__; // Mutating mode (React DOM, React ART, React Native):