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
3 months 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...
-
34:52
Steph & Kayls
12 hours ago $0.53 earnedToys In The Bedroom: Fun, Fantasy, or Too Far? | Ep. 3
4.34K2 -
2:03:22
Badlands Media
14 hours agoBaseless Conspiracies Ep. 129: Vatican Black Ops, Red Shoes, and the Financial Empire of the Popes
173K44 -
2:39:38
TimcastIRL
8 hours agoMS-13 Story BURNS Democrats, Media PANICS Tries To Get Off Immigration Story | Timcast IRL
228K807 -
8:02:19
RalliedLIVE
15 hours ago $9.94 earnedWARZONE WINS ALL DAY w/ RAL
89.3K20 -
25:49
Stephen Gardner
11 hours ago🔴Trump Was RIGHT! Newsom’s HUMILIATING Report EXPOSED!
68.3K36 -
1:36:46
Tucker Carlson
9 hours agoThe Pentagon Didn’t Fire Dan Caldwell Over Leaks. They Fired Him for Opposing War With Iran.
153K212 -
8:00:01
SpartakusLIVE
10 hours agoGames w/ StoneMountain64 || Duos w/ StevieT into the night
58.6K2 -
1:34:18
JustPearlyThings
9 hours agoHigh Value Men Are Happy With Wives That Are Mid (Call-in Show) | Pearl Daily
58.9K32 -
10:32:15
ttvglamourx
15 hours ago $6.47 earnedBIRTHDAY STREAM !DISCORD
52.8K11 -
9:46:00
CHiLi XDD
10 hours ago[Macho Madness] Featuring G2G, Lanc & Mochi [ Fortnite --> Ghost Recon Wild Lands ]
37.7K