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

Method constructor

test/AppContainer.dev.test.js:2400–2403  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2398 {
2399 class App2 extends Component {
2400 constructor() {
2401 super();
2402 this.secret = 2;
2403 }
2404
2405 render() {
2406 return <div>{this.superSecret * 2} v2</div>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected