Загрузка страницы

5 Ways to Fetch Data from an API in Vue 3 Composition API

There are many ways to extract data in Vue, so today, we'll look at 5 ways you can fetch data in your application. We will also look at the new Vue 3 suspense API which tackles this problem differently and create our own composable function to maximize reusability.
✨ SOCIAL ✨
Discord - https://discord.gg/8Zr5qgtPBc
Twitter - https://twitter.com/jsbroks
⚡ RESOURCES ⚡
Vue 3 Suspense - https://vueschool.io/articles/vuejs-tutorials/suspense-new-feature-in-vue-3/
⭐ TIMESTAMPS ⭐
0:00 - Vue Data Fetching
0:28 - Where to fetch data
1:09 - Fetch API
1:33 - Axios
2:15 - async/await onMounted
2:34 - Async Component
3:19 - Composable Functions
3:56 - Custom fetch hook
4:38 - Fetch hook with Cache
#Vue #Fetching #Data

Видео 5 Ways to Fetch Data from an API in Vue 3 Composition API канала Justin Brooks
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
26 апреля 2021 г. 18:00:01
00:06:28
Яндекс.Метрика