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...
-
FreshandFit
10 hours agoLarry Wheels Wife... A Real One or Not?
59.8K2 -
1:15:27
Inverted World Live
9 hours agoEpstein’s Blood Experiments, Trump’s UFO Speech, and the 9th Circle of Hell | Ep. 170
92.9K16 -
2:52:40
TimcastIRL
6 hours agoIT WAS A HOAX | Timcast IRL #1446
247K85 -
2:31:41
Decoy
7 hours agoHe's cooked now
111K11 -
1:01:19
Isabella Moody
9 hours agoINSIDE SCOOP: Meeting Clavicular + Updates With His ARREST In AZ
26.5K4 -
2:06:26
DLDAfterDark
4 hours ago $1.55 earnedGUN CONTROL Is To Keep You Safe from Criminals Right?? Gun Talk
29.4K -
9:12
Nicholas Bowling
11 hours ago $1.93 earnedPreacher Gets MOBBED in Front of POLICE at Pride Festival!
28.9K29 -
1:04:12
Katie Miller Pod
12 hours ago $13.99 earnedJoe & Tayler Lonsdale on Tech Investments, Life in Texas, & Homeschooling | KMP Ep. 26
159K15 -
20:07
Jasmin Laine
6 hours agoTrump Puts Carney on NOTICE—Stalling for a Majority Just Backfired BADLY
31.3K27 -
1:28:07
Flyover Conservatives
9 hours agoThey’ve Been Running the World Since WWII (And You Were Never Told) - Mel K | FOC Show
34.3K5