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