Skip to content

Commit 3e8c91c

Browse files
authored
Fix import in README
1 parent bb49abe commit 3e8c91c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-dom/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ npm install react react-dom
1313
### In the browser
1414

1515
```js
16-
import { createRoot } from 'react-dom';
16+
import { createRoot } from 'react-dom/client';
1717

1818
function App() {
1919
return <div>Hello World</div>;

0 commit comments

Comments
 (0)