React 19 · Performance and transitions
Keep the UI responsive during an update
Mark a state update as non-urgent.
const [isPending, startTransition] = useTransition();
startTransition(() => setQuery(value));
Official React 19 documentation
More performance and transitions commands
All performance and transitions commands · React 19 cheatsheet