MCPcopy Create free account
hub / github.com/flyfloor/react-component / getInitialState

Function getInitialState

component/Pagination.js:21–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 };
20 },
21 getInitialState() {
22 const {current} = this.props;
23 return { current };
24 },
25
26 componentWillReceiveProps(nextProps) {
27 if (nextProps.current != this.props.current) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…