?/100

Stop Using .value with ref In Vue 3! Reactivity Transformed Explained!

January 3, 202313066

Description

#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 https://youtu.be/8vq-baOa0ZE ๐Ÿ‘‰ 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/erikhanchett/ Links: https://vuejs.org/guide/extras/reactivity-transform.html#refs-vs-reactive-variables https://vuejs.org/guide/extras/reactivity-transform.html#explicit-opt-in 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

Wheatcha