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

Method componentWillMount

src/higherOrders/FormItem.js:25–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23 }
24
25 componentWillMount () {
26 const { itemBind } = this.props;
27
28 if (itemBind) {
29 const value = getValue(this.props);
30 this.bindToForm(this.props, value);
31 }
32 }
33
34 componentDidMount () {
35 let component = this.component;

Callers

nothing calls this directly

Calls 2

bindToFormMethod · 0.95
getValueFunction · 0.70

Tested by

no test coverage detected