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

Method componentDidMount

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

Source from the content-addressed store, hash-verified

46 }
47
48 componentDidMount () {
49 let component = this.component;
50 Object.keys(component).forEach((key) => {
51 if (!this.hasOwnProperty(key)) {
52 let func = component[key];
53 if (typeof func === 'function') {
54 this[key] = func;
55 }
56 }
57 });
58 }
59
60 componentWillReceiveProps (nextProps) {
61 if (!deepEqual(this.props.data, nextProps.data)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected