React Native Tutorial | Fetch Data from API

React Native Tutorial | Fetch Data from API

Software Sage

4 года назад

65,364 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@maulanaprayoga3643
@maulanaprayoga3643 - 11.12.2022 17:41

Can you help me. I want to fetch data for detail screen in react native. I want to fetch data by id but i dont knoe how to do it. I want to show data by id

Ответить
@GuilhermeSantos-fz9us
@GuilhermeSantos-fz9us - 17.08.2022 00:23

Nice video bro

Ответить
@mariacamilamontealegremerc5892
@mariacamilamontealegremerc5892 - 15.07.2022 00:07

Best tutorial ever! Thanks

Ответить
@jananishruthi3881
@jananishruthi3881 - 15.06.2022 20:45

Can we implement the same method to add fetch a geojson url

Ответить
@eey8909
@eey8909 - 15.06.2022 19:35

For me it didn't display the fetch results if i didn't have a return statement in renderItem function.

But still it was easy to understand and thanks a lot!!!!!!
You got a new subscriber, keep it easy and plain if it's possible as you do. So many explanations on the web and so few can actually show in a simple way the thing you are wondering about.

Ответить
@Santi-xo4nz
@Santi-xo4nz - 23.04.2022 02:28

what's the name of the smartphone emulator?

Ответить
@ersaix0180
@ersaix0180 - 06.04.2022 16:51

it doesn't even work wth

Ответить
@Rovijun2446
@Rovijun2446 - 26.01.2022 17:36

always using Flatlist ? doesn't exist another display ?

Ответить
@altafhussain5361
@altafhussain5361 - 25.12.2021 18:50

Great

Ответить
@EduardoGarcia-lf1ig
@EduardoGarcia-lf1ig - 21.11.2021 20:20

sorry and what would it be like for a local api?

Ответить
@shubhama209
@shubhama209 - 28.10.2021 09:44

awesome tutorial

Ответить
@renegade1807
@renegade1807 - 19.09.2021 21:14

Thank you very much for the great tutorial. Very helpful.

Ответить
@fernandovarela1894
@fernandovarela1894 - 16.09.2021 20:30

Music was unnecessary

Ответить
@amirabenyahia1902
@amirabenyahia1902 - 18.08.2021 11:52

Do you have github repo for this Plz ? and Thank you for this helpfull code

Ответить
@Niltongonzanorojassql
@Niltongonzanorojassql - 17.06.2021 08:01

el codigo va bien si se cambia en la linea 13 por:

export default function App() {

Ответить
@abdulrhmanbakr4135
@abdulrhmanbakr4135 - 13.06.2021 13:31

Thank you so much I now can get and fetch data easily thank you so much

Ответить
@sofienbenktib8970
@sofienbenktib8970 - 05.06.2021 21:03

thank you man , i've been looking for a tutorial that's using arrow function and not class
+1

Ответить
@CuongVu06
@CuongVu06 - 25.05.2021 14:25

good ,thanks you <3

Ответить
@kurty83
@kurty83 - 21.05.2021 00:52

Great that's how i began to learn creat native too, (with hooks) and i'm actually stuck on how to make multiple endpoints calls. Here in this sample, you are almost doing it since you are calling multiple times API, but always the same endpoint.

Ответить
@IkiCaleb231293
@IkiCaleb231293 - 13.05.2021 00:29

mis respetos un abrazo y muchas gracias por tu ayuda

Ответить
@sakthivelseo
@sakthivelseo - 29.04.2021 19:14

how to add api key on header and post some parameters please guide

Ответить
@mishalbutt7
@mishalbutt7 - 29.04.2021 10:40

please upload a whole project video implementing react native with expo cli +node.js+mongodb

Ответить
@majocoav
@majocoav - 09.03.2021 16:59

For the people with the error Possible Unhandled Promise Rejection (id: 0):
TypeError: f is not a function. (In 'f()', 'f' is undefined) - changing ".finally" for ".then" worked for me, so it should be .catch((error)=>alert(error))
.then(setLoading(false));

Ответить
@carloshenriquealvarengados1008
@carloshenriquealvarengados1008 - 02.02.2021 02:49

good

Ответить
@anonymous97316
@anonymous97316 - 23.01.2021 17:23

even im getting the same error.

Possible Unhandled Promise Rejection (id: 0):

TypeError: f is not a function. (In 'f()', 'f' is undefined)

not sure why. havent used the function f anywhere in the code. followed the same steps as in the video

Ответить
@eduardourbiola9497
@eduardourbiola9497 - 21.01.2021 00:45

Good explanation but horrible follow through video. were adding code without mention it.

Ответить
@Ferreiragangofc
@Ferreiragangofc - 12.12.2020 22:53

I'm getting an error

Possible Unhandled Promise Rejection (id: 0):
TypeError: f is not a function. (In 'f()', 'f' is undefined)

what are your suggested solutions ?

Ответить
@Ferreiragangofc
@Ferreiragangofc - 12.12.2020 22:53

I'm getting an error

Possible Unhandled Promise Rejection (id: 0):
TypeError: f is not a function. (In 'f()', 'f' is undefined)

what are your suggested solutions ?

Ответить
@karansiddhu4750
@karansiddhu4750 - 23.11.2020 12:05

Unhandled promise rejection: TypeError: f is not a function. (In 'f()', 'f' is undefined)

getting this warning
what to do sir?

Ответить
@prasanna3997
@prasanna3997 - 05.11.2020 11:25

I am getting error "Network request failed" why?

Ответить
@Boga_adventures
@Boga_adventures - 04.10.2020 18:43

Hi how do I change value of a fetch data. For instance the value of {item.title} to something else

Ответить
@Josh-ri5lg
@Josh-ri5lg - 25.09.2020 17:07

Thanks so much!! This tutorial helped :) Unfortunately, some documentation can be bad so this helped out.

Ответить
@HaiderKhan-ub6lq
@HaiderKhan-ub6lq - 22.09.2020 12:05

Showing empty screen ,no error or nothing

Ответить
@theitguy8500
@theitguy8500 - 07.09.2020 16:55

The data doesn't display on my emulator

Ответить
@sappahful
@sappahful - 20.08.2020 00:32

I'm getting an error

Possible Unhandled Promise Rejection (id: 0):
TypeError: f is not a function. (In 'f()', 'f' is undefined)

what are your suggested solutions ?

Ответить
@bidhan001
@bidhan001 - 10.08.2020 14:04

if I change the url to something else. It immediately crashes. How you handle that crash

Ответить