Skip to content

Commit e8f4a66

Browse files
authored
Fix import in example
1 parent 3e8c91c commit e8f4a66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The `react` package contains only the functionality necessary to define React co
1010

1111
```js
1212
import { useState } from 'react';
13-
import { createRoot } from 'react-dom';
13+
import { createRoot } from 'react-dom/client';
1414

1515
function Counter() {
1616
const [count, setCount] = useState(0);

0 commit comments

Comments
 (0)