home3k
Results
2
issues of
home3k
``` componentWillReceiveProps(nextProps) { this._updateSelectedOptions(nextProps.selectedOptions); this.setState({ disabled: nextProps.disabled }); } _updateSelectedOptions(selectedOptions) { this.setState({ selectedOptions, dataSource: this.ds.cloneWithRows(this.props.options) }); } ``` The dataSource not change when nextProps.options changed. ``` this._updateSelectedOptions(nextProps.selectedOptions, nextProps.options); ``` ```...