I have a simpel form:
https://codesandbox.io/s/distracted-poincare-2blfq?file=/src/App.js:357-552
<form>
<TextField
onChange={handleChange}
onBlur={clearInput}
value={inputValue}
placeholder="Do an api request"
/>
</form>
On the onChange
I want to do an api request with the value of the input but I would like to add a debounce or throttle. Important is that when the input is blurred the text in the input should be removed and the placeholder should be visible.