Fetching an API (Simple GET Request) with Loading Spinner in React Native App

  Рет қаралды 32,054

MissCoding

MissCoding

Күн бұрын

Пікірлер: 19
@chazzageorge3506
@chazzageorge3506 3 ай бұрын
Amazing! Just what I needed and explained so well, thank you!
@anthony452
@anthony452 2 ай бұрын
@5:04 alt+[up arrow] Move lines without copying. Thanks for the tutorial!
@KT-ut9zg
@KT-ut9zg 2 жыл бұрын
Fantastic! Simply explained and very straightforward. Thanks!
@Draxen
@Draxen 2 жыл бұрын
Yo! Holla from Perth WA! Your accent sounds like you’re from NZ! 🤙 Awesome tutorial 👏 keep up the awesome work
@MissCoding
@MissCoding 2 жыл бұрын
Thanks Jordy! Yes I'm from Auckland, NZ :)
@Draxen
@Draxen 2 жыл бұрын
@@MissCoding Epiccc! Hope it's not too chilli over there atm! Pretty cold here in WA haha
@faizmasroor
@faizmasroor 2 жыл бұрын
thanks and love from pakistani mobile app developer .
@jobarmure6169
@jobarmure6169 Жыл бұрын
Thx very much for the explanation, very easy to understand
@lylemccalmont4771
@lylemccalmont4771 Жыл бұрын
Thank you for this @MissCoding - excellent tutorial for simple API connectivity. I get the same error "undefined is not an object (evaluating 'response["bpi"]') If I remove the line return Bitcoin (GBP): {response["bpi"]["GBP"].rate}; and readd it it works first time but then fails every time after. Any idea what the issue is @MissCoding?
@benjaminflor2355
@benjaminflor2355 2 жыл бұрын
so good teacher
@kashif2309
@kashif2309 2 жыл бұрын
I'm getting an error saying "undefined is not an object (evaluating 'response["bpi"]')
@anilokcuoglu
@anilokcuoglu 2 жыл бұрын
i get the same error can you handled this ?
@christopherquarshie8258
@christopherquarshie8258 Жыл бұрын
Same error any solution?
@mehdimv4808
@mehdimv4808 Жыл бұрын
​@@christopherquarshie8258 First cut the "return Bitcoin (USD): {response["bpi"]["USD"].rate};return Bitcoin (USD): {response["bpi"]["USD"].rate};" and save so the app runs successfully one time, then paste it and save again and it works for some reason!
@carlosarangovelasquez7101
@carlosarangovelasquez7101 4 ай бұрын
const getContent = () => { if (isLoading) { return ; } if (error) { return {error}; } // Check if response.bpi exists before accessing USD if (!response.bpi || !response.bpi.USD) { return Error: Data unavailable; } return Bitcoin (USD): {response.bpi.USD.rate}; };
@danyspb9349
@danyspb9349 Жыл бұрын
thank you so much it easy to understand
@rkshanigaming3434
@rkshanigaming3434 2 жыл бұрын
Lovely its really helpfull for me...❤❤
@MissCoding
@MissCoding 2 жыл бұрын
Thank you! If you want to see how to make different types of api requests eg put, post and delete… I have recently uploaded a video covering these!
@vlastimilslechta8927
@vlastimilslechta8927 Жыл бұрын
Thank u ! 😊
React Native tutorial #46 API Call | Fetch Rest API
10:28
Code Step By Step
Рет қаралды 8 М.
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 115 МЛН
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 101 МЛН
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 35 МЛН
Fetching Data in React - Complete Tutorial
29:10
Cosden Solutions
Рет қаралды 142 М.
What Are APIs? - Simply Explained
6:49
Simply Explained
Рет қаралды 894 М.
Learn Fetch API In 6 Minutes
6:35
Web Dev Simplified
Рет қаралды 1,3 МЛН
React Native vs Flutter - Which should you use?
22:31
Simon Grimm
Рет қаралды 49 М.
React Native tutorial in Hindi #46 API Call | Fetch Rest API
13:37
Code Step By Step
Рет қаралды 40 М.
How To Fetch API In React Native And Render Using Flatlist
20:45
The Awesome Dev
Рет қаралды 13 М.