Рет қаралды 71,577
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 - / discord
Twitter - / jsbroks
⚡ RESOURCES ⚡
Vue 3 Suspense - vueschool.io/articles/vuejs-t...
⭐ 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