fbpx

#1 Vue3 Composition API Tips – Newsletter Archives

Click here to join our mailing list

Sent March 5, 2020


Hey Vue Devs!

I hope your week is going great.

Let’s jump right in and check out some of the best Vue3 content! 


Lifecycle Hooks in Vue3 | LearnVue

The changes in the Composition API have made the way we accessed Vue lifecycle hooks a little different. Make sure you stay up to date.

Provide and Inject – An Introduction to Building Vue3 Plugins | LearnVue

In Vue2, most plugins inject properties on the `this` object (e.g. Vue Router is accessed by this.$router). However, since the Composition API has a different `this` how will plugins work?

When To Use The New Vue Composition API (And When Not To) | Anthony Gore

Although the Composition API is extremely powerful, there may be cases when it’s overkill (especially for smaller projects). In this article, Vue community member Anthony Gore discusses possible uses.

Recreating Vue 3 Reactivity API (roughly) | Jason Yu

Behind the scenes, the new reactivity system in Vue3 takes advantage of the ES6 Proxy feature. This article is a great way to understand what’s happening under the hood.

Access template refs in Composition API in Vue.js 3 | VueDose

One of the biggest worries of Vue developers is converting Vue2 code to Vue3. In this quick VueDose tip, you’ll learn how to access template refs in the Composition API.

Data Fetching using Vue Hooks | Darren Jennings

Using the Vue3 watch hook can be a great way to fetch data whenever a reactive value changes. This article goes into more detail about the different ways to fetch data in Vue3. 

How to migrate from Vue 2.0 to Vue 3.0 Composition API with TS | Toru Eguchi

This fantastic guide walks you through a practical example of converting your Vue2 components to Vue3 components using Typescript! It even discusses some cool data store ideas.


A quick word for those of you who have already preordered the Vue3 App Build Along course

  1. Thank you, thank you, thank you
  2. The current expected release date is March 19!

What articles have you found the most helpful in understanding Vue3? I’d love to hear!

Cheers, 

Matt Maribojoc