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.
Nesta página do site você pode assistir ao vídeo on-line Comparing useTransition vs useDeferredValue hooks in React 18 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Lyrad Digital 07 Abril 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,013 vezes e gostou 32 espectadores. Boa visualização!