@@ -473,7 +473,7 @@ describe('ChangeEventPlugin', () => {
473
473
describe ( 'concurrent mode' , ( ) => {
474
474
// @gate experimental
475
475
it ( 'text input' , ( ) => {
476
- const root = ReactDOM . createRoot ( container ) ;
476
+ const root = ReactDOM . unstable_createRoot ( container ) ;
477
477
let input ;
478
478
479
479
class ControlledInput extends React . Component {
@@ -516,7 +516,7 @@ describe('ChangeEventPlugin', () => {
516
516
517
517
// @gate experimental
518
518
it ( 'checkbox input' , ( ) => {
519
- const root = ReactDOM . createRoot ( container ) ;
519
+ const root = ReactDOM . unstable_createRoot ( container ) ;
520
520
let input ;
521
521
522
522
class ControlledInput extends React . Component {
@@ -572,7 +572,7 @@ describe('ChangeEventPlugin', () => {
572
572
573
573
// @gate experimental
574
574
it ( 'textarea' , ( ) => {
575
- const root = ReactDOM . createRoot ( container ) ;
575
+ const root = ReactDOM . unstable_createRoot ( container ) ;
576
576
let textarea ;
577
577
578
578
class ControlledTextarea extends React . Component {
@@ -615,7 +615,7 @@ describe('ChangeEventPlugin', () => {
615
615
616
616
// @gate experimental
617
617
it ( 'parent of input' , ( ) => {
618
- const root = ReactDOM . createRoot ( container ) ;
618
+ const root = ReactDOM . unstable_createRoot ( container ) ;
619
619
let input ;
620
620
621
621
class ControlledInput extends React . Component {
@@ -662,7 +662,7 @@ describe('ChangeEventPlugin', () => {
662
662
663
663
// @gate experimental
664
664
it ( 'is async for non-input events' , ( ) => {
665
- const root = ReactDOM . createRoot ( container ) ;
665
+ const root = ReactDOM . unstable_createRoot ( container ) ;
666
666
let input ;
667
667
668
668
class ControlledInput extends React . Component {
@@ -715,7 +715,7 @@ describe('ChangeEventPlugin', () => {
715
715
const { act} = TestUtils ;
716
716
const { useState} = React ;
717
717
718
- const root = ReactDOM . createRoot ( container ) ;
718
+ const root = ReactDOM . unstable_createRoot ( container ) ;
719
719
720
720
const target = React . createRef ( null ) ;
721
721
function Foo ( ) {
0 commit comments