Update to React 18
This commit is contained in:
@ -87,5 +87,7 @@ const MyApp = () => {
|
||||
);
|
||||
};
|
||||
|
||||
ReactDOM.render(<MyApp />, document.getElementById('root'));
|
||||
ReactDOM.createRoot(document.getElementById('root')).render(
|
||||
<MyApp />
|
||||
);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user