startTransition marks state updates as non-urgent transition work, allowing immediate interactions such as typing to remain responsive while expensive filtering or rendering is deferred. section 4.3
Responsive search
In a search component, update the query immediately with setQuery(value), then wrap result filtering in startTransition(() => setResults(filteredResults)). Pairing useTransition with isPending enables a loading indicator while the list update is pending.
