(nextProps)
| 22 | } |
| 23 | |
| 24 | componentWillReceiveProps (nextProps) { |
| 25 | if (!deepEqual(nextProps.value, this.props.value)) { |
| 26 | this.setValue(nextProps.value); |
| 27 | } |
| 28 | if (!deepEqual(nextProps.data, this.props.data)) { |
| 29 | this.setState({ data: this.formatData(nextProps.data) }); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | setValue (value) { |
| 34 | value = toArray(value, this.props.sep); |
nothing calls this directly
no test coverage detected