Skip to content

Instantly share code, notes, and snippets.



Created Jul 11, 2017
What would you like to do?
import { h, render, Component } from 'preact';
class App extends Component {
render(props, { data }) {
return (<h1>Hello World!</h1>)
render(<App/>, document.body)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment