just to make the two of them look as similar as possible code wise. I actually never use the import axios way - normally the module - th-cam.com/video/29fWyRUvZkw/w-d-xo.html
The script with Fetch is 3 lines longer than using with Axios, so for simple cases it might be worth not importing an extra library and just go with Fetch. Is there any more advances cases maybe that using Axios is actually better? Setting default headers maybe?
well axios is a whole library so it is full of useful things - th-cam.com/video/29fWyRUvZkw/w-d-xo.html using the module will make that code even simpler
@@eduardocamillo2698 i would say that axios does make things more 'automatic' and actually has implemented some 'edge cases' where fetch API was a bit cumbersome to play with (might have been improved in the past year or so, I havent checked)
Thanks for this Debbie.... How can I reach out to you for tech advice, from time to time.... I would also appreciate it if you could be my mentor, I know that seems like a Longshot
thank you sm!!! your videos saved my nuxt.js studies 💕
Glad I could help!
Very helpful and well explained, thank you! 🙂
Glad you enjoyed it!
nice tutorial, thanks
Glad you liked it!
Great video. Thanks! Just curious why you are doing a .then() using await?
just to make the two of them look as similar as possible code wise. I actually never use the import axios way - normally the module - th-cam.com/video/29fWyRUvZkw/w-d-xo.html
The script with Fetch is 3 lines longer than using with Axios, so for simple cases it might be worth not importing an extra library and just go with Fetch. Is there any more advances cases maybe that using Axios is actually better? Setting default headers maybe?
well axios is a whole library so it is full of useful things - th-cam.com/video/29fWyRUvZkw/w-d-xo.html
using the module will make that code even simpler
@@DebbieOBrien great, thank!
@@eduardocamillo2698 i would say that axios does make things more 'automatic' and actually has implemented some 'edge cases' where fetch API was a bit cumbersome to play with (might have been improved in the past year or so, I havent checked)
Thanks for this Debbie.... How can I reach out to you for tech advice, from time to time.... I would also appreciate it if you could be my mentor, I know that seems like a Longshot
what about using http only session cookies with fetch?
Really helpful videos, thanks Debbie! any future plans to demonstrate GraphQL with Nuxt? :D
Yes, soon. also covered it in my talk - th-cam.com/video/0xlnM08Aalw/w-d-xo.html
or this post - dev.to/debs_obrien/graphql-and-nuxt-1010
@@DebbieOBrien Great, thanks for getting back to me :)
Nice videos @Debbie O'Brien ✌🏻
thanks
Amazing
Thanks
hi there i am learning about nuxtjs, can you help me on it i have several doubts
sure, let me know what doubts you have and will try to create a video on it
i don't understand why there has to be more than one method of doing a small thing. it drives me mad.
one is from the browser but it didnt have IE support and is quite basic. Axios is a library so you do more with it. but use what is best for you
@@DebbieOBrien thanks debbie, you're a doll!
I feel like I'm in England!
why England?