MCPcopy Index your code
hub / github.com/Lobos/react-ui / componentWillReceiveProps

Method componentWillReceiveProps

src/Table.js:30–34  ·  view source on GitHub ↗
(nextProps)

Source from the content-addressed store, hash-verified

28 }
29
30 componentWillReceiveProps (nextProps) {
31 if (!deepEqual(nextProps.data, this.props.data)) {
32 this.setState({ data: nextProps.data });
33 }
34 }
35
36 componentDidUpdate () {
37 this.setHeaderWidth();

Callers

nothing calls this directly

Calls 1

deepEqualFunction · 0.85

Tested by

no test coverage detected