7 secret patterns Vue consultants don't want you to know
summary
Seven concrete tricks and how well they work: seven patterns including require.context for auto-registering base components and Vuex modules, using watcher objects with immediate: true to run once and on change, and lazy routes via dynamic import to keep admin code out of the 97% of users who never hit it. Also transparent wrappers that forward $listeners and set inheritAttrs: false, functional multi-root components for coordinated transitions, and a reusable theater-curtains component that actually animates.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:00Secrets
- 2:28Smarter Watchers
- 4:29Component Registration
- 8:18Module Registration
- 10:51Lazy-Loaded Routes
- 12:44Transparent Wrappers
- 17:35Single-Root Components
- 20:08Coordinated Transitions
- 22:22Can't get enough?
related talks
44m7 Secret Patterns Vue Consultants Don’t Want You to Know
58m7 Secret Patterns Vue Consultants Don't Want You to Know
29mAdvanced Vue.js features and patterns in the enterprise
19mPatterns for Large Scale Vue.js Applications
25mPhenomenal design patterns in Vue using Vuex with Spiders
26mPhenomenal Design Patterns In Vue
28mExploring Vue3's Built-In Components
10mSimplifying Complex Forms in Vue
