Vue 3.3.0 NEW defineModel Will Change How You Write Vue Code!

JavaScript / Web 32K צפיות 10/04/2023
פתח ב-YouTube

דרג סרטון זה

התחבר כדי לדרג

תיאור

Get a free chapter of my book, and I'll let you know when I go live! https://bit.ly/3Umk7sW With Vue 3.3.0 a new experimental macro defineModel was released. Is it better then v-model, let's take a look at how it works! 👉Check out my last video on UnoCSS https://youtu.be/1vwq4uaYQGU 👉 Join this channel to get access to perks: https://www.youtube.com/channel/UCshZ3rdoCLjDYuTR_RBubzw/join 👉 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://mentors.to/erik Follow me! https://twitter.com/erikch Links: https://github.com/vuejs/core/pull/8018 https://vue-macros.sxzz.moe/macros/define-models.html 0:00 What is defineModel 0:45 How to use defineModel today 01:17 Vue Macros setup with defineModels 03:08 Setting up MyChild with current way of handling v-model components 06:23 Converting to defineModels

#Program With Erik