mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Fix import in README
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user