Skip to content

Instantly share code, notes, and snippets.

@axdg
axdg / try-deku.js
Created January 25, 2016 16:38 — forked from kogai/try-deku.js
/** @jsx element */
import {dom, element} from '../src'
import {createStore, combineReducers} from 'redux'
let {createRenderer} = dom
let myReducer = (state = { message: 'hello, world', count: 0 }, action)=> {
switch (action.type) {
case 'CLICKED':
return {
message: `hello, diff-${state.count}`,