Vue 3 Dersleri - Fetch Api ile Http Request

Vue 3 ile JavaScript Fetch Api sini kullanıp HTTP Get Requesti yapıyoruz, aldığımız datayı ekranda gösteriyoruz ve sonrasında basit bir useFetch örneği yapıyoruz. 00:00 Başlangıç 00:40 Fetch Api ile bir end pointe get request yapmak (https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) 05:50 Composable useFetch implemantasyonu 08:10 Loading olayı 09:35 Error handling 10:55 Aldığımız Json bilgisini template içinde gösteriyoruz (render ediyoruz) 12:25 TypeScript ile Generic useFetch (https://www.typescriptlang.org/docs/handbook/2/generics.html) Bana bu kanallardan da ulaşabilirsiniz; https://twitter.com/apostylee https://instagram.com/apostylee

Abdullah Uğraşkan · Diğer

Özgün kaynağı aç