Skip to content

Instantly share code, notes, and snippets.

@joshgillies
joshgillies / index.js
Created May 4, 2017 01:17
requirebin sketch
const hyperHTML = require('hyperhtml')
const component = require('hypercomponent')
riot = {}
const _riot = require('riot')
function toRiot (name, component, riot) {
riot.tag(name, '', function (opts) {
var tag = this
var instance = null
@joshgillies
joshgillies / esnextbin.md
Last active July 7, 2017 07:06
esnextbin sketch
@joshgillies
joshgillies / esnextbin.md
Created August 3, 2017 01:10
esnextbin sketch
@joshgillies
joshgillies / index.html
Created August 8, 2017 01:07
hyperHTML starter app
<!doctype html>
<html>
<head>
<title>hyperHTML Starter App</title>
</head>
<body>
<div id="root"></div>
<script src="https://unpkg.com/hyperhtml"></script>
<script>
function tick(render) {