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
9 months ago
20
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
The Quartering
1 hour agoWhat's Even Happening Anymore...
6,250 watching -
LIVE
Dr Disrespect
4 hours ago🔴LIVE - DR DISRESPECT - ARC RAIDERS - NORTH LINE UPDATE
1,622 watching -
30:28
The White House
4 hours agoPresident Trump and the First Lady Participate in an Executive Order Signing
1.53K6 -
1:13:56
DeVory Darkins
2 hours agoNewsom SUFFERS MAJOR SETBACK after Trump revokes 17,000 Commercial Drivers Licenses
121K48 -
1:07:32
Timcast
3 hours agoDemocrats CAUGHT Framing Trump On Epstein, Leaked Emails Show Journalist COLLUSION :+1: 1
138K164 -
LIVE
The Bold Lib
55 minutes agoBOLDCHAT: Moms For Liberty | Free Speech w/ANGELA BELCAMINO
21 watching -
2:11:09
Steven Crowder
5 hours ago🔴 Just Release the Damn Epstein Files - End It Once and For All
420K302 -
10:06
VSOGunChannel
2 hours ago $0.08 earnedCongress Tells ATF to Stop Doing the National Firearms Act
611 -
30:40
The Boomer Effect
17 hours agoNo More Beardos
1 -
1:08:00
Sean Unpaved
3 hours agoMike Vrabel Has Restored The Patriot Way! | UNPAVED
15.1K2