MCPcopy Index your code
hub / github.com/flyfloor/react-component / componentWillReceiveProps

Function componentWillReceiveProps

component/DropDown.js:285–291  ·  view source on GitHub ↗
(nextProps)

Source from the content-addressed store, hash-verified

283 },
284
285 componentWillReceiveProps(nextProps) {
286 if (this.props.value !== nextProps.value) {
287 this.setState({
288 value: nextProps.value
289 });
290 }
291 },
292
293 render() {
294 const {children} = this.props;

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…