Comparing useTransition vs useDeferredValue hooks in React 18
Hey guys. In this video I show you a problem that had previously occurred in React 17 and earlier and how we can now solve it using transitions in React 18.
I do this by demonstrating the use of the useTransition hook and deferring the update to state. Then I show you how we can solve the same problem using the useDeferredValue hook.
But not only this, by the end of the video you’ll understand when to use one hook over the other. You’ll see a useTransition vs useDeferred comparison.
source