2020-08-23 04:04:58 +00:00
|
|
|
import { Component } from 'inferno';
|
|
|
|
import { hydrate } from 'inferno-hydrate';
|
|
|
|
import { BrowserRouter } from 'inferno-router';
|
2020-09-06 16:15:25 +00:00
|
|
|
import { App } from '../shared/components/app';
|
|
|
|
/* import { initDevTools } from 'inferno-devtools'; */
|
2020-08-23 04:04:58 +00:00
|
|
|
|
|
|
|
declare global {
|
|
|
|
interface Window {
|
|
|
|
isoData: {
|
|
|
|
name: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
const wrapper = (
|
|
|
|
<BrowserRouter>
|
2020-09-06 16:15:25 +00:00
|
|
|
<App />
|
2020-08-23 04:04:58 +00:00
|
|
|
</BrowserRouter>
|
|
|
|
);
|
2020-09-06 16:15:25 +00:00
|
|
|
/* initDevTools(); */
|
2020-08-23 04:04:58 +00:00
|
|
|
hydrate(wrapper, document.getElementById('root'));
|