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

Method constructor

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

Source from the content-addressed store, hash-verified

43
44 Counter100x: class Counter100x extends React.Component {
45 constructor(props) {
46 super(props);
47 this.state = { counter: 0 };
48 }
49
50 increment() {
51 this.setState({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected