import { h, app } from "hyperapp" app({ model: 0, update: { add: model => model + 1, sub: model => model - 1 }, view: (model, actions) =>