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.
In questa pagina del sito puoi guardare il video online Comparing useTransition vs useDeferredValue hooks in React 18 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Lyrad Digital 07 aprile 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,013 volte e gli è piaciuto 32 spettatori. Buona visione!