Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Composition API vs. Options API - One API to Rule Them All?!

Автор: Alexander Lichter

Загружено: 2024-06-07

Просмотров: 6165

Описание:

💪 This week was a lot of discussion about the two Vue APIs - the Composition and the Options API - on Social Media. Thus, I took some time to assess the shared thoughts + discussions and also went a step further: I asked you why you prefer the Options API and wanted to figure out pain points you have with the Composition API.

The results are all distilled in this video, including what the Vue team and Evan say about the API topic, how the future might look like and my personal opinion (at the very end).

Important Disclaimer: I am not part of the Vue core team (but the Nuxt team). I researched all quotes and facts with care, links are commonly below to the topics, tweets and posts!

#vuejs

---
Links

🔗 FREE VueSchool Composition API Course - https://vueschool.io/courses/vue-js-f... *
🔗 Justin’s Proposal https://x.com/jpschroeder/status/1797...
🔗 Justin Doubling Down https://x.com/jpschroeder/status/1798...
🔗 Vue Docs on deprecating Options API https://vuejs.org/guide/extras/compos...
🔗 Evan Clarifying CAPI vs OAPI https://x.com/youyuxi/status/17985422...
🔗 Vue Docs - Why Composition API? https://vuejs.org/guide/extras/compos...
🔗 Unplugin for script setup https://github.com/unplugin/unplugin-...
🔗 Cory House SOC https://x.com/housecor/status/1256348...
🔗 Infographic Vue SOC OAPI https://img.lichter.io/infographics/v...
🔗 Infographic Vue SOC CAPI https://img.lichter.io/infographics/v...
🔗 Infographic Vue SOC Both https://img.lichter.io/infographics/v...

📺 Organizing Code with the Composition API    • Organize your Composition API code (2k sub...  
📺 You probably use useFetch wrong    • You are using useFetch WRONG! (I hope you ...  
📺 ‪@DejaVueFm‬ Episode 011 about Learning new Vue Features    • DejaVue #E011 - Learning new Vue Features ...  

Don't forget to hit that "Subscribe" button, ring the notification bell and give a thumbs up!

🌐 Connect further:
Website: https://www.lichter.io
Twitter/X:   / thealexlichter  
Twitch:   / thealexlichter  

---
Chapters

00:00 Intro
00:39 Should People Learn the Options or Composition API?
01:39 Will the Options API Go AWAY?
05:17 Why NOT Using the Composition API?
05:44 Argument One: Legacy
07:55 Argument Two: Compatibility
08:39 Argument Three: Reactivity
11:20 Argument Four: Structure / Messy Code
13:45 Separation of Concerns
17:56 Further Benefits of the Composition API
19:50 The Ecosystem
21:24 My Personal Opinion
24:39 Summary

---
Notice

Links marked with * are affiliate links. I get a small commission when you register for the service through our link. This helps to keep the YouTube channel running. I only include affiliate links for services mentioned in the video which I use myself and/or vouched!

Composition API vs. Options API - One API to Rule Them All?!

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Dynamic Rendering in 2024 - SSR only for Crawlers?

Dynamic Rendering in 2024 - SSR only for Crawlers?

Почему вам не нужен Composition API Vue.js 3! Сравнение Composition API и Options API Vue.js 3

Почему вам не нужен Composition API Vue.js 3! Сравнение Composition API и Options API Vue.js 3

useAsyncData vs. useFetch 🤯

useAsyncData vs. useFetch 🤯

You should try these VueUse composables 👀🥚

You should try these VueUse composables 👀🥚

Распространенные ошибки в Vue.js и как их избежать | VueConf US 2024

Распространенные ошибки в Vue.js и как их избежать | VueConf US 2024

Эван Ю объясняет режим Vapor в Vue...

Эван Ю объясняет режим Vapor в Vue...

Why you should use useState()

Why you should use useState()

VueConf US 2024

VueConf US 2024

The BEST way to proxy your API in Nuxt

The BEST way to proxy your API in Nuxt

Vite Bundle Inspection made EASY

Vite Bundle Inspection made EASY

My FAVORITE UI Library for Vue.js

My FAVORITE UI Library for Vue.js

Avoid losing Reactivity in your Vue Application

Avoid losing Reactivity in your Vue Application

7 Vue Patterns That You Should Be Using More Often

7 Vue Patterns That You Should Be Using More Often

Why I Ditched Next.js for Epic Stack

Why I Ditched Next.js for Epic Stack

Vue Composable Patterns (When to use them)

Vue Composable Patterns (When to use them)

Vue 3

Vue 3

Fetch ONCE and share data between Nuxt and Nitro!

Fetch ONCE and share data between Nuxt and Nitro!

The Ubisoft Hack Gets Way Worse When You Look Deeper

The Ubisoft Hack Gets Way Worse When You Look Deeper

No One Understands What Elon Just Said About 2026

No One Understands What Elon Just Said About 2026

Wyjaśniamy o co chodzi z Grenlandią. Czy naprawdę może wybuchnąć wojna USA-Dania?

Wyjaśniamy o co chodzi z Grenlandią. Czy naprawdę może wybuchnąć wojna USA-Dania?

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com