diff --git a/code/react-vs-vanilla-js-example/react/src/index.js b/code/react-vs-vanilla-js-example/react/src/index.js index a2a3af7b3d..9065e05326 100644 --- a/code/react-vs-vanilla-js-example/react/src/index.js +++ b/code/react-vs-vanilla-js-example/react/src/index.js @@ -1,5 +1,5 @@ import React from 'react'; -import ReactDOM from 'react-dom'; +import ReactDOM from 'react-dom/client'; import './index.css'; import App from './App';