Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ReactDOM.unstable_createSyncRoot (#15504)
* Add ReactDOM.unstable_createSyncRoot - `ReactDOM.unstable_createRoot` creates a Concurrent Mode root. - `ReactDOM.unstable_createSyncRoot` creates a Batched Mode root. It does not support `createBatch`. - `ReactDOM.render` creates a Legacy Mode root. It will eventually be deprecated and possibly moved to a separate entry point, like `react-dom/legacy`. * Rename internal ReactRoot types
- Loading branch information
Showing
3 changed files
with
174 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.