title: How to reset the react-select component to defaultValue state after form submit
body: <p>In the below code I have a simple react component which has a form containing a react-select component. It initially displays the defaultValue and then gives two options to select. Once selected the submit button would send a post request. 
  Every thing works fine point the issue is that I want to revert the Select component to display the default value after on submit is clicked.</p>
  
  <pre><code>import Select from 'react-select';
  
  export class Test extends Component {
    this.setState = {
      selection: 0,
     };
  
    onSelectChange = (e) =&gt; {
      this.setState({ selection: e.value });
    }
  
    onSubmit = (e) =&gt; {
      e.preventDefault();
      const { selection } = this.state;
      // Post request logic comes here
      // Reset Select component to original default state
    }
  
    render() {
      const defaultValue = { label: 'Choose something', value: 0 };
      const options = [
        { label: 'Item 1', value: 1 },
        { label: 'Item 2', value: 2 },
      ];
  
      return (
        &lt;form onSubmit={this.onSubmit}&gt;
          &lt;Select
            options={options}
            defaultValue={defaultValue}
            onChange={this.onSelectChange}
          /&gt;
         //submit button here          
        &lt;/form&gt;
      );
    }
  }
  </code></pre>