Premium Only Content
This video is only available to Rumble Premium subscribers. Subscribe to
enjoy exclusive content and ad-free viewing.
React useEffect with setTimeout to Understand the Setting of Data
17 days ago
7
Technology
Software & Development
programming
softwaredevelopment
livecoding
softwaredeveloper
reactjs
frontend
The lecture explores the callback passed to the useEffect hook in React.
It uses a setTimeout to demonstrate that initially the data is in its initial state, until it is changed by the corresponding mutate function.
Once mutated, the state change signals React to render the component anew, resolving DOM discrepancies, and manifesting the new data to the user.
In the example, an empty list of messages is populated after some brief period of time, a simulation of what's like to make a request to a backend server to retrieve data.
Loading 1 comment...
-
13:37
Exploring With Nug
9 hours ago $0.99 earnedSUV Found Underwater Searching For Missing Man Jerry Wilkins!
39K -
2:58:21
xBuRnTx
4 hours ago1st Warzone Stream Online
24.2K1 -
6:10:21
JdaDelete
1 day ago $2.23 earnedDino Crisis - Sega Saturday
28.4K1 -
23:22
MYLUNCHBREAK CHANNEL PAGE
1 day agoUnder The Necropolis - Pt 5
37.5K22 -
2:26:11
Jewels Jones Live ®
2 days agoWINNING BIGLY | A Political Rendezvous - Ep. 108
106K40 -
2:04:49
Bare Knuckle Fighting Championship
4 days agoBKFC FIGHT NIGHT MOHEGAN SUN FREE FIGHTS
44.1K4 -
25:09
BlackDiamondGunsandGear
7 hours agoYou NEED to be Training For Whats to Come
30.9K10 -
20:03
Sideserf Cake Studio
13 hours ago $1.42 earnedA HUNGRY HUNGRY HIPPOS CAKE THAT ACTUALLY WORKS?
32.2K11 -
23:51
marcushouse
14 hours ago $1.14 earnedStarship’s Next Move Is Coming Sooner Than You Think!
21.6K4 -
22:24
The Finance Hub
20 hours ago $7.11 earnedBREAKING: JOE ROGAN JUST DROPPED A MASSIVE BOMBSHELL!!!
24.5K25