N
Nuxt8mo ago
danbi

useAsyncData

guys, When writing useAsyncData, I wonder what the types in <> are for. example) const { data, status } = useAsyncData<CourseWithPath, unknown, CoursesReturn, Test>($fetch.apply);
1 Reply
manniL
manniL8mo ago
1. Why $fetch.apply? 2. The first generic you can pass is the type of the data ref
Want results from more Discord servers?
Add your server