How To Fetch API In React Native And Render Using Flatlist

preview_player
Показать описание
In this video, you will learn fetch image from api with fetch method and use it in react native. By the end of this tutorial you will be very well versed with the best way to fetch api in react native.

Command to create a new expo project - npx create-expo-app yourprojname

We will walk through a 4 steps process to fetch data from api in react native

// Step: 1 Fetch the API , check the data in the console - done
// Step: 2 Use the data to update the state and use flatlist to render the data
// Step: 3 Handle the errors and error state
// Step: 4 Add a loading indictaor for a better user experience

Watch More Content

Рекомендации по теме
Комментарии
Автор

Great work! You made a complex task easier to understand.

roving-camera_
Автор

This is the best tutorial 👌 online today

Found this helpful thanks 😊

abdulazeezabdulmujeeb
Автор

Can you do the very same when there is authorization and call back bla bla

sly-retailpos
Автор

Thanks bro ı solve my problem thanks to you❤

pyhjtdm
Автор

can it also fetch data from firebase storage

pokemon_hindi