November 13, 2019 03:20 pm GMT
Original Link: https://css-tricks.com/an-early-look-at-the-vue-3-composition-api-in-the-wild/
An Early Look at the Vue 3 Composition API in the Wild
I recently had an opportunity to try the new Vue Composition API in a real project to check where it might be useful and how we could use it in the future.
Until now, when we were creating a new component we were using Options API. That API forced us to separate the components code by options, meaning that we needed to have all reactive data in one place (data
), all computed properties in one place (… Read article
The post An Early Look at the Vue 3 Composition API in the Wild appeared first on CSS-Tricks.
Original Link: https://css-tricks.com/an-early-look-at-the-vue-3-composition-api-in-the-wild/
Share this article:
Tweet
View Full Article