import './styles/main.scss' import { h, hydrate } from 'preact' import App from './components/app.tsx' const STATE = typeof __STATE__ !== 'undefined' ? __STATE__ : undefined hydrate(h(App, STATE), document.body)