Premium Only Content

4 new HOOKS APIs (useSyncExternalStore) concurrent rendering in REACT 18
Improve the performance of your App by using these 4 hooks.
Hi everyone! In today's video, I am going to give you an intro to 4 new API hooks React has introduced in its latest version. React 18.
These APIs will only be available if we upgrade React and use the new Root API. If you don't know how to upgrade to React 18, check this video:
https://www.youtube.com/watch?v=9uXq0sH_zsc&t=3s
useTransition() and startTransition() - Transitions allow us to split a state update into an urgent and no urgent part, the transition part. React will interrupt the transition state updates and update the urgent updates first.
useDeferredValue() -Works similarly, but it's mainly useful when we work with external libraries that we don't have control over the setState.
useId() - We can use it to generate unique IDs on the client and server.
useSyncExternalStore() - Recommended for any state management library to make it easier to integrate with React.
Don't forget to subscribe to my channel to be up to date with everything that is going on with React.
-
9:18
Time to Code with Ali
2 years ago $0.01 earnedTypescript vs Javascript - What are the differences
251 -
1:02:48
BonginoReport
4 hours agoChristianity Is Under Attack - Nightly Scroll w/ Hayley Caronia (Ep.144)
54.9K53 -
LIVE
JdaDelete
1 hour agoHollow Knight: Silksong - Steel Soul [Permadeath]
61 watching -
LIVE
FLRG
2 hours agoFLRG LIVE ROAD TO 2015 FOLLOWERS
40 watching -
1:05:10
The Nick DiPaolo Show Channel
5 hours agoKirk Assassination Theories Abound! | The Nick Di Paolo Show #1795
41.8K31 -
LIVE
Focus_Up
1 hour agoGrinding resurgence ranked!! Playing with Subscribers!! Lets have some fun!!!
6 watching -
DVR
Chrono
1 hour agoSplat-Tasks 2 - Splatoon but with more Rules
1.35K -
41:09
Katie Miller Pod
18 hours ago $1.17 earnedEpisode 8 - Adena Friedman | The Katie Miller Podcast
29.2K1 -
6:18:46
GritsGG
7 hours agoDuos! Most Wins in WORLD! 3680+!
22.3K -
1:45:18
Kim Iversen
4 hours agoSnake Eyes to Charlie Kirk: Is Life Copying this Hollywood Script?
50.4K48