mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 20:53:08 +00:00
Blog typo
This commit is contained in:
@@ -363,7 +363,7 @@ hydrate(<App />, document.getElementById('root'));
|
||||
|
||||
// After
|
||||
import {hydrateRoot} from 'react-dom/client';
|
||||
hydrate(document.getElementById('root'), <App />);
|
||||
hydrateRoot(document.getElementById('root'), <App />);
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user