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

Method constructor

test/proxy/instance-method.test.js:11–14  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

9
10 Counter1x: class Counter1x extends React.Component {
11 constructor(props) {
12 super(props);
13 this.state = { counter: 0 };
14 }
15
16 increment() {
17 this.setState({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected