title: React-select onChange trigger when user select same option
body: <p>The onChange of a <a href="https://react-select.com/home" rel="nofollow noreferrer">react-select</a> drop down is getting triggered when I select an already selected value in the drop down. Is there a way to configure react-select to not trigger onChange event if already selected value is selected again.</p>
  <pre><code>  handleOnChange(value) {
      console.log(&quot;test&quot;);
      this.setState({ multiValue: value });
    }
    render() {
      return (
        &lt;div&gt;
          &lt;Select.Creatable
            options={this.state.options}
            onChange={this.handleOnChange.bind(this)}
            value={this.state.multiValue}
            showNewOptionAtTop={false}
          /&gt;
        &lt;/div&gt;
      );
    }
  </code></pre>
  <p>As you can see the console log calling even if the value is the same. <a href="https://codesandbox.io/s/react-select-forked-1me8b" rel="nofollow noreferrer">Codesandbox</a></p>