1 import { Component } from 'inferno';
7 export default class About extends Component<IProps, IState> {
13 this.increment = this.increment.bind(this);
15 protected increment() {
17 clickCount: this.state.clickCount + 1,
23 Simple Inferno SSR template
24 <p className="text">Hello, world!</p>
25 <button onClick={this.increment} className="button">
28 <p className="count">{this.state.clickCount}</p>