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
13 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...
-
1:05
tether
9 hours agoHadron by Tether - tokenize anything, anywhere
562 -
34:32
Standpoint with Gabe Groisman
18 hours agoGovt. Workers AREN’T Working Says DOGE Chair Sen. Joni Ernst
313 -
DVR
Savanah Hernandez
2 hours agoMASS DEPORTATIONS ARE HERE AND THEY ARE GLORIOUS
4841 -
21:12
Clownfish TV
15 hours agoThe Video Game Industry LITERALLY Wants You Dead?!
7144 -
1:35:44
Right Side Broadcasting Network
5 hours agoLIVE REPLAY: First Press Briefing by White House Press Secretary Karoline Leavitt - 1/28/25
79.9K78 -
DVR
vivafrei
6 hours agoJan. 6 Injustices! Jeremy Brown STILL IN JAIL! Untold Story of Ashli Babbitt Killer Michael Byrd!
43K12 -
3:09:52
Benny Johnson
4 hours ago🚨 First Trump White House Press Briefing LIVE Right Now! New Press Secretary With the FLAMETHROWER
121K167 -
44:12
Ben Shapiro
3 hours agoEp. 2126 - Did China Just DRINK OUR MILKSHAKE?!
40.1K25 -
1:11:08
Russell Brand
3 hours agoTrump’s Deportation Wave Begins – SF527
66.2K132 -
2:57:07
The Charlie Kirk Show
3 hours agoThe Big Pause + ICE in Chicago + The Birthright Citizenship Scam | Glenn, Hammer, Eastman | 1.28.25
99.7K22