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
10 months ago
17
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
Pepkilla
2 hours agoMore GOLD Camo's PLEASE Grind Call Of Black Ops 7
143 watching -
1:35:54
LexTronic
1 hour ago $0.19 earnedMetroid Prime Remastered
2.73K -
12:32
MetatronGaming
17 hours agoBLIGHT looks AMAZING - Trailer Reaction
20.2K10 -
LIVE
ProRedmanX
1 hour ago $0.21 earnedSunday Morning Coffee & Chaos ☕ | PUBG -> BF6 -> ??? #goonsquad
68 watching -
5:23
Memology 101
22 days ago $14.21 earnedReporter HUMILIATES Kamala Harris over "WORLD-CLASS" dodge during interview
20.6K46 -
LIVE
ItsJustChrisTV
1 hour ago $0.19 earnedRescue Rangin'! Lets (try to) Save Some Folks!
70 watching -
1:11:44
Palermozeto
1 hour ago[Arc Raiders] Time for Some Keys, Increase This Stash, Scrappy and Tables Are All Max. Time for More
1.77K -
LIVE
The Sufari Hub
3 hours ago🔴WE ARE FEATURED - TTS ACTIVE - BLACK OPS 7 EXTRACTION MODE - LEVEL GRINDING
70 watching -
44:51
American Thought Leaders
17 hours agoHow This Tech Can Break China’s Rare Earth Monopoly | Dr. James Tour
24.1K11 -
9:46
MattMorseTV
19 hours ago $32.38 earnedTrump just SHUT DOWN a $287,000,000 FRAUD RING.
56.6K124