mirror of
https://github.com/techno-tim/littlelink-server.git
synced 2024-11-29 06:35:38 +01:00
16 lines
296 B
JavaScript
16 lines
296 B
JavaScript
|
import App from './components/App/App';
|
||
|
import { BrowserRouter } from 'react-router-dom';
|
||
|
import React from 'react';
|
||
|
import { hydrate } from 'react-dom';
|
||
|
|
||
|
hydrate(
|
||
|
<BrowserRouter>
|
||
|
<App />
|
||
|
</BrowserRouter>,
|
||
|
document.getElementById('root'),
|
||
|
);
|
||
|
|
||
|
if (module.hot) {
|
||
|
module.hot.accept();
|
||
|
}
|