Skip to content

Commit

Permalink
Remove prefixed concurrent APIs from www build
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 committed Oct 16, 2019
1 parent d7feeb2 commit 1eed000
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 1eed000

Please sign in to comment.