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
9 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...
-
LIVE
Benny Johnson
1 hour ago🚨Trump Releases ALL Evidence Against James Comey in Nuclear Legal BOMBSHELL! It's DARK, US in SHOCK
5,486 watching -
LIVE
Badlands Media
9 hours agoBadlands Daily: November 4, 2025
3,499 watching -
LIVE
Wendy Bell Radio
6 hours agoBUSTED.
7,179 watching -
LIVE
The Big Mig™
3 hours agoDing Dong The Wicked Witch Pelosi Is Gone
23 watching -
LIVE
Daniel Davis Deep Dive
2 hours agoFast Tracking Weapons to Ukraine, Close to $3 Billion /Lt Col Daniel Davis
101 watching -
LIVE
The State of Freedom
4 hours ago#347 Relentlessly Pursuing Truth, Transparency & Election Integrity w/ Holly Kesler
37 watching -
1:34:34
Graham Allen
3 hours agoThe MAGA “Civil War” Will LOSE The Midterms! Is A Fracture Coming? ALL Eyes On Key Races!
69.6K40 -
20:28
Real Estate
1 month agoMILLIONS of Homeowners ARE LOSING MONEY NOW...
5.04K2 -
22:35
Jasmin Laine
20 hours ago"They're Rude and Dismissive"—Poilievre Gets CBC To CONFESS On Camera
5.37K34 -
12:26
Adam Does Movies
1 day ago $0.51 earnedIT: Welcome To Derry Episode 2 - Review + Recap
3.69K1