Skip to content

Commit 7cec151

Browse files
authored
Remove prefixed concurrent APIs from www build (#17108)
The downstream callers have been updated, so we can remove these.
1 parent ed5f010 commit 7cec151

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

packages/react-dom/src/client/ReactDOMFB.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,4 @@ Object.assign(
3939
},
4040
);
4141

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-
5042
export default ReactDOM;

0 commit comments

Comments
 (0)