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

Function componentWillReceiveProps

component/Menu.js:62–68  ·  view source on GitHub ↗
(nextProps)

Source from the content-addressed store, hash-verified

60 },
61
62 componentWillReceiveProps(nextProps) {
63 if (nextProps.current !== this.props.current) {
64 this.setState({
65 current: nextProps.current
66 });
67 }
68 },
69
70 onOtherDomClick(){
71 this.closeSubMenu();

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…