This Vue 3 Component Pattern is Fire 🔥🔥🔥 (and you should use it!)
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)
19 views
12
1
1 month ago 00:18:09 1
15 Breakdown (Everything You Need To Know) (Дата оригинальной публикации: )
1 month ago 00:02:24 1
Run Tasks (like DB Migrations) in Nuxt DevTools (Дата оригинальной публикации: )
1 month ago 00:06:36 1
Suspense Component: Learn How to Handle Async Dependencies (Дата оригинальной публикации: )
1 month ago 00:21:55 1
Vue + : Building Your First ML Powered App | VueConf US 2024 (Дата оригинальной публикации: )
1 month ago 00:04:56 1
Customizing Images in Nuxt (Дата оригинальной публикации: )
1 month ago 00:02:16 2
"Room " Microfreak⧸Theremini - Charlotte Dubois
2 months ago 00:43:46 1
Ask Me Anything (AMA) With the WebStorm Team
2 months ago 00:37:33 2
[HistoryMarche] When Christianity became dominant - Battle of the Milvian Bridge, 312 - Constantine’s Triumph
2 months ago 01:10:58 1
Johnny M - Lets Go Deeper _ Deep House Set - Johnny M (GR)
2 months ago 00:00:54 1
PARIS 17EME - APPARTEMENT A VENDRE - 1 347 000 € - 134 m² - 3 pièces
2 months ago 00:00:39 1
PARIS 7ÈME - APPARTEMENT A VENDRE - 3 170 000 € - 162 m² - 6 pièce(s)