MCPcopy Create free account
hub / github.com/Lobos/react-ui / componentWillMount

Method componentWillMount

src/higherOrders/Fetch.js:37–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 }
36
37 componentWillMount () {
38 this._isMounted = true;
39 let { data, fetch } = this.props;
40 if (data) {
41 this.handleData(data);
42 }
43 if (fetch) {
44 this.fetchData(fetch);
45 }
46 }
47
48 componentDidMount () {
49 let component = this.component;

Callers

nothing calls this directly

Calls 2

handleDataMethod · 0.95
fetchDataMethod · 0.95

Tested by

no test coverage detected