From 1eed00097f0d9045a177ae81d6eeed8206cdbac2 Mon Sep 17 00:00:00 2001 From: Andrew Clark Date: Tue, 15 Oct 2019 22:34:47 -0700 Subject: [PATCH] Remove prefixed concurrent APIs from www build The downstream callers have been updated, so we can remove these. --- packages/react-dom/src/client/ReactDOMFB.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/react-dom/src/client/ReactDOMFB.js b/packages/react-dom/src/client/ReactDOMFB.js index f90a569b982ad..83353421e4ae0 100644 --- a/packages/react-dom/src/client/ReactDOMFB.js +++ b/packages/react-dom/src/client/ReactDOMFB.js @@ -39,12 +39,4 @@ Object.assign( }, ); -// TODO: These are temporary until we update the callers downstream. -ReactDOM.unstable_createRoot = ReactDOM.createRoot; -ReactDOM.unstable_createSyncRoot = ReactDOM.createSyncRoot; -ReactDOM.unstable_interactiveUpdates = (fn, a, b, c) => { - ReactDOM.unstable_flushDiscreteUpdates(); - return ReactDOM.unstable_discreteUpdates(fn, a, b, c); -}; - export default ReactDOM;