Skip to content

Instantly share code, notes, and snippets.

@ahmedam55

ahmedam55/index.js

Created Jul 11, 2017
Embed
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