Fix import in example
dan committed
Apr 7, 2022 at 14:12 UTC
e8f4a6653dc3f5d9702236a3abed887ca44dcfbb
1 file changed
+1
-1
packages/react/README.md
+1
-1
@@ -10,7 +10,7 @@ The `react` package contains only the functionality necessary to define React co
10
11
```js
12
import { useState } from 'react';
13
-import { createRoot } from 'react-dom';
13
+import { createRoot } from 'react-dom/client';
14
15
function Counter() {
16
const [count, setCount] = useState(0);