You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import App from './App'; |
|
import BrowserRouter from 'react-router-dom/BrowserRouter'; |
|
import React from 'react'; |
|
import { hydrate } from 'react-dom'; |
|
|
|
hydrate( |
|
<BrowserRouter> |
|
<App /> |
|
</BrowserRouter>, |
|
document.getElementById('root') |
|
); |
|
|
|
if (module.hot) { |
|
module.hot.accept(); |
|
}
|
|
|