const onInputChange = (e) => { setInputValue(+e.target.value); startTransition(() => { setItems(/* ... */); }); };