Premium Only Content
This video is only available to Rumble Premium subscribers. Subscribe to
enjoy exclusive content and ad-free viewing.
Explanation of How Messages are Loaded in React App
1 year ago
21
Technology
Software & Development
programming
softwaredevelopment
livecoding
softwaredeveloper
reactjs
frontend
The lecture goes over an explanation of how chat room or board messages are retrieved for a React app.
It goes over the call to the fetch function that returns a Promise.
Then it goes over how the Promise returned by fetch gets fulfilled with a Response object.
The body of the response is extracted and turned into an array of objects in JavaScript.
A new array of strings is made after calling map on the array of message post objects.
Finally, the mutation function from React useState is called to signal React the state for messages has changed, triggering the rendering of the component anew.
Loading 2 comments...
-
LIVE
Badlands Media
8 hours agoDevolution Power Hour Ep. 429
9,506 watching -
LIVE
Inverted World Live
6 hours agoEpstein Trained with Mossad, Allegedly Used Zorro Ranch as a Baby Farm | Ep. 167
2,582 watching -
2:43:40
TimcastIRL
3 hours agoDEMOCRATS HAVE CAVED | Timcast IRL #1442
189K41 -
1:29:12
Tucker Carlson
4 hours agoThe Shocking Reality of the Treatment of Christians in the Holy Land by US-Funded Israel
38.7K60 -
23:07
hoemath
3 hours ago $0.02 earnedBABY TALK [How to deal with A.W.F.U.L. women]
8.03K9 -
18:46
Cash Jordan
4 hours agoTrump Launches DECAPITATION STRIKE... Ayatollah "TRAPPED" as Mobs Dismantle Tehran
4.36K10 -
LIVE
Drew Hernandez
21 hours agoTRUMP CALLS ON AMERICA TO MOVE ON FROM EPSTEIN AS DOJ COVERS UP FOR MONSTERS IN EPSTEIN FILES?
967 watching -
LIVE
ThatStarWarsGirl
2 hours agoTSWG LIVE: Helen of DeTROYt Debate!
177 watching -
2:10:46
TheSaltyCracker
3 hours agoMel Was Right About Hollywood ReeEStream 02-04-26
67.5K113 -
48:44
LFA TV
1 day agoMAKE MEN..MEN AGAIN!
10.4K2