Plans from $25/month
This lesson is for members. Join us?
Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!
Call useFetch for a $fetch + useAsyncData Shorthand
It’s a very common need to call $fetch
within useAsyncData
. In this lesson, we take a look at the shorthand for this combo called useFetch
. It takes many of the same options as useAsyncData
and cleans our code up by a few lines.
Links