Тёмный

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

MissCoding
Подписаться 8 тыс.
Просмотров 31 тыс.
50% 1

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@chazzageorge3506
@chazzageorge3506 Месяц назад
Amazing! Just what I needed and explained so well, thank you!
@anthony452
@anthony452 23 дня назад
@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!
@faizmasroor
@faizmasroor Год назад
thanks and love from pakistani mobile app developer .
@jobarmure6169
@jobarmure6169 Год назад
Thx very much for the explanation, very easy to understand
@benjaminflor2355
@benjaminflor2355 Год назад
so good teacher
@danyspb9349
@danyspb9349 Год назад
thank you so much it 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?
@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 2 месяца назад
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}; };
@vlastimilslechta8927
@vlastimilslechta8927 Год назад
Thank u ! 😊
@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!
@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
Далее
React Native tutorial #46 API Call | Fetch Rest API
10:28
Fetching Data in React - Complete Tutorial
29:10
Просмотров 124 тыс.
Kenji's Sushi Shop Showdown - Brawl Stars Animation
01:55
🎙ПЕСНИ ВЖИВУЮ от КВАШЕНОЙ
3:05:21
You might not need useEffect() ...
21:45
Просмотров 161 тыс.
Learn Fetch API In 6 Minutes
6:35
Просмотров 1,2 млн
Asyncstorage React Native | Async Storage Tutorial
14:19
Why I Don’t Use useEffect In My React Components
9:30
React Native Tutorial - 70 - POST Request
7:23
Просмотров 12 тыс.
Kenji's Sushi Shop Showdown - Brawl Stars Animation
01:55