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
8 months ago
15
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...
-
2:14:00
Inverted World Live
8 hours agoLegion of Zoom | Ep. 109
207K10 -
2:42:57
TimcastIRL
9 hours agoDOJ Releases Charlie Kirk Assassin Messages, Trans Left Aligned Confirmed | Timcast IRL
350K207 -
1:09:13
Man in America
12 hours agoSICK: Xi & Putin Caught Plotting Organ Transplants for “Eternal Life”
86.3K29 -
6:04:35
Drew Hernandez
14 hours agoMASS CONFUSION AROUND CHARLIE'S MURDER
63.8K51 -
1:01:40
HotZone
6 days ago $12.84 earned"Prepare for WAR" - Confronting the URGENT Threat to America
91.1K22 -
20:23
Scammer Payback
14 hours agoTerrifying Scammers with File Deletions
53.6K13 -
16:22
The Gun Collective
11 hours agoWOW! 17 New Guns JUST GOT RELEASED!
65.4K11 -
1:13:57
Glenn Greenwald
12 hours agoYoung Men and Online Radicalization: Dissecting Internet Subcultures with Lee Fang, Katherine Dee, and Evan Barker | SYSTEM UPDATE #516
194K82 -
1:14:57
Sarah Westall
9 hours agoCEO of Crowds on Demand: The Fake World of Social Media, Protests & Movements w/ Adam Swart
75.3K15 -
4:03:25
Geeks + Gamers
12 hours agoTuesday Night's Main Event
85.5K2