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
1 year ago $0.01 earnedTypescript vs Javascript - What are the differences
246 -
LIVE
megimu32
3 hours agoOTS: Movie Tie-In Games + Remakes: Let’s Play Memory Lane
198 watching -
1:15:06
Adam Does Movies
10 hours ago $0.02 earnedTalking Movies + Ask Me Anything - LIVE
14.9K -
1:17:18
Glenn Greenwald
1 day agoWhat are CBS News' Billionaire Heirs Doing with Bari Weiss? With Ryan Grim on the Funding Behind It; Europe Capitulates to Trump Again | SYSTEM UPDATE #494
94.4K66 -
1:43:49
RiftTV
5 hours agoCNN Calls Black NY Shooter WHITE, Cincinnati FATIGUE | The Rift | Guest: Braeden Sorbo, 2Protects1
37K14 -
4:21:04
LumpyPotatoX2
6 hours agoKilling Floor 3: Rampage & Chaos - #RumbleGaming
9.85K -
LIVE
BrancoFXDC
6 hours ago $0.51 earnedPlaying Ranked Warzone - Pursuit of Diamond Rank
105 watching -
1:11:41
Omar Elattar
6 hours agoThe Brain Experts: "Your Overthinking Problem Has A Physical Solution & We Can Show You!"
13K2 -
4:31:38
Mattnifico
5 hours agoREPLAYING EVERY FORZA HORIZON GAME - Forza Horizon 1 (Part 2)
6.19K -
LIVE
DamagingDoc18
3 hours agoTime to get small! Grounded 2
15 watching