import { render, Component } from 'inferno'; import { HashRouter, Route, Switch } from 'inferno-router'; import { Navbar } from './components/navbar'; import { Home } from './components/home'; import { Login } from './components/login'; import { CreatePost } from './components/create-post'; import { CreateCommunity } from './components/create-community'; import { Post } from './components/post'; import { Community } from './components/community'; import { Communities } from './components/communities'; import './main.css'; import { WebSocketService, UserService } from './services'; const container = document.getElementById('app'); class Index extends Component { constructor(props, context) { super(props, context); WebSocketService.Instance; UserService.Instance; } render() { return (
{this.symbols()}
); } symbols() { return( ); } } render(, container);