rum

Simple, decomplected, isomorphic HTML UI library for Clojure and ClojureScript | 0.12.8 https://github.com/tonsky/rum/blob/gh-pages/CHANGELOG.md#0128
igat64 2018-05-08T06:20:50.000168Z

I’m trying to implement something like that

class Counter extends React.Component {
  constructor(props) {
    super(props)
    this.state = {
      count: props.initialCount
    }
  }
  handleClick: () => {
    this.setState({count: this.state.count + 1})
  }
  render() {
    return (
      <span onClick={this.handleClick}>this.state.count</span>
    )
  }
}