Remove prefixed concurrent APIs from www build (#17108)
The downstream callers have been updated, so we can remove these.
Andrew Clark committed
Oct 16, 2019 at 18:58 UTC
7cec15155ac2bb9d8c61dc8ab1951c6226c5cd3b
1 file changed
-8
packages/react-dom/src/client/ReactDOMFB.js
-8
@@ -39,12 +39,4 @@ Object.assign(
39
},
40
);
41
42
-// TODO: These are temporary until we update the callers downstream.
43
-ReactDOM.unstable_createRoot = ReactDOM.createRoot;
44
-ReactDOM.unstable_createSyncRoot = ReactDOM.createSyncRoot;
45
-ReactDOM.unstable_interactiveUpdates = (fn, a, b, c) => {
46
- ReactDOM.unstable_flushDiscreteUpdates();
47
- return ReactDOM.unstable_discreteUpdates(fn, a, b, c);
48
-};
49
-
42
export default ReactDOM;