import * as React from "react"; import {Flux, Component} from "flumpt"; import {render} from "react-dom"; class MyComponent extends Component { componentDidMount() { this.dispatch("increment"); } render() { return ( <div> {this.props.count} <button onClick={() => this.dispatch("increment")}>increment</button> </div> ); } } class App extends Flux { subscribe() { // `subscribe` is called once in con
{{#tags}}- {{label}}
{{/tags}}