Skip to content

Commit

Permalink
unstable_createRoot
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Mar 16, 2021
1 parent 192c039 commit babefe9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ describe('ReactDOMFizzServer', () => {

// Attempt to hydrate the content.
const container = document.body.firstChild;
const root = ReactDOM.createRoot(container, {hydrate: true});
const root = ReactDOM.unstable_createRoot(container, {hydrate: true});
root.render(<App />);
Scheduler.unstable_flushAll();

Expand Down

0 comments on commit babefe9

Please sign in to comment.