MCPcopy Create free account
hub / github.com/Lucifier129/react-lite / getInitialState

Method getInitialState

__tests__/ReactES6Class-test.js:322–325  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

320 this.propTypes = {};
321 }
322 getInitialState() {
323 getInitialStateWasCalled = true;
324 return {};
325 }
326 getDefaultProps() {
327 getDefaultPropsWasCalled = true;
328 return {};

Callers 3

KlassFunction · 0.80
ConstructorFunction · 0.80
tFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected