Comparing useTransition vs useDeferredValue hooks in React 18

Published: 07 April 2022
on channel: Lyrad Digital
1,013
32

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.


On this page of the site you can watch the video online Comparing useTransition vs useDeferredValue hooks in React 18 with a duration of hours minute second in good quality, which was uploaded by the user Lyrad Digital 07 April 2022, share the link with friends and acquaintances, this video has already been watched 1,013 times on youtube and it was liked by 32 viewers. Enjoy your viewing!