#vuejs #vue3
In vue.js there are ref and reactive. Then there are .value and the new reactivity transformed. In this video I explain in this Tutorial how reactivity transform works, how you can use ref and reactive in Vue.js!
👉Check out my last video on ChatGPT
• Can ChatGPT Write Better Vue Code Tha...
👉 Sign up and get free Vue cheat sheets and updates!
https://www.vuecourse.tech
👉 Need some help with a project, level up your skills, Vuetify or Nuxt bug? Check out my 1-on-1 mentoring!'
https://mentorcruise.com/mentor/erikh...
Links:
https://vuejs.org/guide/extras/reacti...
https://vuejs.org/guide/extras/reacti...
0:00 Introduction
0:32 How to use ref
03:22 $ref explained reactivity transform
04:50 reactive explained
05:56 Using reactive with composables
08:50 using toRefs
09:09 using $()
09:32 using ref with composables
13:26 conclusion reactive vs ref what to use