A deferred search indicator distinguishes the current input from a slower result list. Keep previous results visible while showing that a newer value is pending.
Worked example
// components/DeferredSearchIndicator.tsx
import { useState, useDeferredValue } from "react";
export default function DeferredSearchIndicator() {
const [q, set] = useState("");
const result = useDeferredValue(q);
return (
<label>
Filter
<input value={q} onChange={(e) => set(e.target.value)} />
<output aria-busy={q !== result}>{result}</output>
</label>
);
}Implementation notes
Deferring a result view does not throttle network requests by itself. Treat rendering priority and request cancellation as separate concerns.
Try it yourself
Type several characters quickly and check which query the displayed list represents.
Open the React example →Editorial date October 7, 2026 · Published December 6, 2026