title: react hook can not clear input value
body: <p>my component look like this</p>
  
  <pre><code>const onkeychange = async (e) =&gt; {
      setState({ ...state, textValue: e.target.value })
      if (delay !== false) {
          clearTimeout(delay)
      }
      let string = e.target.value
      if (string.trim() == '') {
          setState({ ...state, issearching: false })
      }
  }
  &lt;input
      type="text"
      autoComplete="off"
      name="search"
      placeholder="Search for a Product, Brand or Category"
      value={state.textValue}
      className="search"
      onChange={onkeychange}
  /&gt;
  </code></pre>
  
  <p>problem is, When after I type something in the input. Then try to delete everything, I can't I can delete all but one last character. For exmaple: I type <code>hello</code> in the input. trying to delete it with backspace, I can remove <code>ello</code> but not the h</p>