Skip to content

Commit

Permalink
Remove prefixed concurrent APIs from www build (#17108)
Browse files Browse the repository at this point in the history
The downstream callers have been updated, so we can remove these.
  • Loading branch information
acdlite authored Oct 17, 2019
1 parent ed5f010 commit 7cec151
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/react-dom/src/client/ReactDOMFB.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 7cec151

Please sign in to comment.