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
TheSaltyCracker
1 hour agoMel Was Right About Hollywood ReeEStream 02-04-26
11,383 watching -
LIVE
MattMorseTV
1 hour ago🔴CHAOS in the SENATE.🔴
1,969 watching -
LIVE
SpartakusLIVE
2 hours ago#1 Solo Challenge CHAMPION || MASSES Flock to Sparta to WITNESS the ULTIMATE Gaming OVERLORD
209 watching -
LIVE
Barry Cunningham
1 hour agoLIVE BREAKING: President Trump Televised Interview | Kristi Noem | Super Bowl Players Speak!
3,986 watching -
LIVE
The Quartering
2 hours agoOPENING $2,000 WORTH OF POKEMON & MTG CARDS!
471 watching -
LIVE
The Jimmy Dore Show
3 hours agoChomsky Advised Epstein On How To Evade Charges! Dan Bongino’s EPIC Crashout! w/ Jesse Merl
10,311 watching -
52:40
ZeeeMedia
5 hours agoEpstein is Pizzagate ft. Ben Swann | Daily Pulse Ep 190
18.1K3 -
LIVE
Akademiks
2 hours agoBlueface and NLE Choppa beefing over....IDK? Drake confirms he knew Pusha T was on Epstein List?
879 watching -
LIVE
Meisters of Madness
4 hours agoHexMegaRoid - ARC Raiders
134 watching -
LIVE
Blabs Life
3 hours agoWasssuppp | Chit Chat N' Chill
52 watching