Change to a new directory and type cd MY-APP to get to your primary folder charting.
To get data from the API, write code in App. js and use the fetch function.
The Fetch API is an utility that runs on the window object (window. fetch) in most modern browsers and allows us to make HTTP calls using JavaScript promises. We only need to supply the URL endpoint to which we wish to make our request when using fetch to create a simple GET request.
We can make an HTTP call to the backend using the fetch() method of the Fetch API. We can use this method to execute a variety of HTTP activities, such as requesting data from an endpoint using the GET method, sending data to an endpoint using the POST method, and so on.
Learner's Ratings
4.6
Overall Rating
79%
12%
6%
1%
2%
Reviews
M
Mohanlal Khhurana
5
Very helpful course in learning ReactJS
A
Abdul Sattar
5
Please update this course some topics are deprecated.
M
Muhammad Usman
5
Amazing course
Y
Yash Patel
5
Superb Course Thanks for sharing
K
Karan
5
Learnvern All Courses are Great Thanks To Provide Best Content.
Me Aapka Life Time Tak Abhari Rahunga
Thanks
A
Ankush Mittal
4
resources me jake download ki file but file open krne pr usme kuch hi aahra
S
satyam pandey
4
resourse link is not working
N
Niyyer Abbas
5
good
T
Tanay Lohani
5
very good course. Content Delivery of Trainer is very very awesome. I suggest everyone who want to learn react I prefer learn vern
M
Manish Kumar
5
Thanks LearnVern, If I get job than I will donate my 1st salary to LearnVern
Share a personalized message with your friends.