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
1. Why $fetch.apply?
2. The first generic you can pass is the type of the data ref