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.
Sur cette page du site, vous pouvez voir la vidéo en ligne Comparing useTransition vs useDeferredValue hooks in React 18 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Lyrad Digital 07 avril 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,013 fois et il a aimé 32 téléspectateurs. Bon visionnage!