Fix import in README

This commit is contained in:
dan
2022-04-07 13:46:36 +01:00
committed by GitHub
parent bb49abea23
commit 3e8c91c5f8

View File

@@ -13,7 +13,7 @@ npm install react react-dom
### In the browser
```js
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';
function App() {
return <div>Hello World</div>;