Skip to content

Instantly share code, notes, and snippets.

View joehand's full-sized avatar
🌳
be like tree

Joe Hand joehand

🌳
be like tree
View GitHub Profile
@joehand
joehand / index.js
Created August 6, 2016 00:06
requirebin sketch
var yo = require('yo-yo')
document.body.appendChild(Component1(123))
function Component1 (counter) {
counter1 = counter2 = counter
function template () {
return yo`
<div>
<button style="background-color:blue;" onclick=${update2}>