useTransition & Concurrent Playground

Rara types in the finder, a slow list of 60 puppets filters: directly, through startTransition, or through useDeferredValue. When does each letter reach the…

Why it matters

Search as you type, a big table filter, a tab that draws many charts: one keystroke can drag a heavy render along. If that render is one update with the box’s text, every letter waits, and the app feels stuck. Marking the heavy render as one that may wait keeps the box smooth with no web worker or debounce.

The key idea

One keystroke, two updates: the urgent one and the one that may wait

Common mistakes

Try it in this playground