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

Method constructor

test/AppContainer.dev.test.js:172–175  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

170 it('hot-reloads children without losing state', () => {
171 class App extends Component {
172 constructor(props) {
173 super(props);
174 this.state = { value: 'old' };
175 }
176
177 shouldComponentUpdate() {
178 return false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected