Vue has some really neat component patterns. Let’s take a look at a common one how it deals with state. In this tutorial we’ll look at the controlled props pattern. This pattern uses props and allows you to easily reuse complext components in Vue. We’’ll also look at defineExpose 👉 Check out my last video on Vite tips! 👉Sign up for my mailing list and get neat stuff! 👉 Need some help with a project, level up your skills, React, Next, Vue, or Nuxt? Check out my 1-on-1 mentoring! Links: 0:00 Patterns in Vue 0:23 What this app does 01:28 Refactor to use hidden prop 03:18 A look at defineExpose 06:18 Why you may not want to sue defineExpose 07:05 Controlled Props (thanks Michael)
Hide player controls
Hide resume playing