Vue 3 Composition API [Experts Series - Filip Rakowski]

Опубликовано: 07 Май 2020
на канале: Jeffrey Codes
9,284
211

The Composition API is coming to Vue 3 - but some companies, such as VueStorefront, have been using it for a while with the Vue 2 Composition API plugin.

Filip Rakowski, co-founder of VueStorefront, is here to explain the Composition API and how they’ve used it in the next version of their e-commerce framework.

Bonus content starts here 👉 https://www.vuescreencasts.com/watch/318
Follow me on Twitter here 👉   / vuescreencasts  
Get expert consulting here 👉 https://www.vuescreencasts.com/pro?so...

0:00 Start
0:29 Introduction
5:24 Why we need reactivity
7:24 Ref and Reactive - two pillars of the Composition API’s Reactivity system
13:45 The Composition API
18:50 Instance vs Global State
23:59 Async Fetch Composable Function
29:53 Composition API in VueStorefront Source Code
38:06 Conclusion

Thanks for watching, and keep learning!