unction(vnode) {
        vnode.state.fooga = 1
    },

    view : function(vnode) {
        return m(&quot;p&quot;, vnode.state.fooga)
    }
})

// OR

m.mount(document.body, {
    oninit : function(vnode) {
        var state = this  // this is bound to vnode.state by default

        state.fooga = 1
    },

    view : function(vnode) {
        var state = this // this is bound to vnode.state by default

        return m(&quot;p&quot;, state.fooga)
    }
})
</code></pre>
<hr>
<h2 id="component-arguments"><a