Skip to content

Commit

Permalink
Fix import in example
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Apr 7, 2022
1 parent 3e8c91c commit e8f4a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The `react` package contains only the functionality necessary to define React co

```js
import { useState } from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';

function Counter() {
const [count, setCount] = useState(0);
Expand Down

0 comments on commit e8f4a66

Please sign in to comment.