MCPcopy Create free account
hub / github.com/gaearon/react-hot-loader / increment

Method increment

test/proxy/instance-method.test.js:33–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 }
32
33 increment() {
34 this.setState({
35 counter: this.state.counter + 10,
36 });
37 }
38
39 render() {
40 return <span>{this.state.counter}</span>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected