{"size": 518, "ext": "js", "max_stars_repo_path": "src/client.entry.js", "max_stars_repo_name": "jessehattabaugh/holygrail", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/client.entry.js", "max_issues_repo_name": "jessehattabaugh/holygrail", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/client.entry.js", "max_forks_repo_name": "jessehattabaugh/holygrail", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.5, "max_line_length": 49, "alphanum_fraction": 0.667953668}
import { AppContainer } from 'react-hot-loader';
import { render } from 'react-dom';
import * as React from 'react';
import { BrowserRouter } from 'react-router-dom';

import App from './components/App';

mountApp(App);

if (module.hot) {
	module.hot.accept('./components/App', () => {
		mountApp(App);
	});
}

function mountApp(Component) {
	render(
		<AppContainer>
			<BrowserRouter>
				<Component />
			</BrowserRouter>
		</AppContainer>,
		document.getElementById('root'),
	);
}

console.info('client started');
