React 18 introduces “Concurrency“ - an extremely important new concept. Along with that, two key new hooks were added: useTransition() and useDeferredValue(). Both hooks help with (de-)prioritzing state updates but when should you use which hook?
This video explains both hooks in great detail and shows a complete example.
Full tutorial article:
Video demo app starting code:
Finished code:
Learn all about (the latest version of) React with my “Complete Guide“ course:
----------
Join our Academind Community on Discord: https://acade ...
#react # #reactjs #react_18 #reactjs_18 # #usetransition #usedeferredvalue #concurrency
20220329
lDukIAymutM
1 view
332
74
1 year ago 00:16:12 2
React v18 Hooks - useTransition vs useDeferredValue Examples & Comparison