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

Method constructor

test/proxy/lifecycle-method.test.js:28–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 const testFabric = methodName => (Component, patchedRender, spy) => {
27 class App1 extends Component {
28 constructor() {
29 super();
30 this.secret = 1;
31 this.superSecret = 42;
32 }
33
34 [methodName]() {
35 spy();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected