7 Secret Patterns Vue Consultants Don’t Want You to Know
summary
Seven concrete tricks that change code not concept: seven patterns include smarter Watchers (watch handlers as method names and immediate: true to remove created hooks), auto-registering components and Vuex modules via webpack require.context to avoid boilerplate and bloat, forcing fresh renders with router-view key=route.fullPath, building transparent wrappers with inheritAttrs: false and listeners forwarding, using functional render functions returning arrays, and integrating Mapbox GL by rendering templates into popups and keeping lifecycle and cleanup explicit.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 6:07Component Registration
- 12:45Module Registration
- 17:28Radical Tweak 1
- 21:47Radical Tweak 2
- 28:30Unlocked Possibilities
- 28:50One Root Element
- 29:21Multiple Components
- 31:39Cons
- 32:51Rendering non HTML
- 33:41MatteboxGL
- 34:37API
- 37:38Scope Slots
related talks
26m7 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
26mPhenomenal Design Patterns In Vue
25mPhenomenal design patterns in Vue using Vuex with Spiders
32m6 App building patterns your Seniors didn't want to know
35mCommon Mistakes in Vue.js and How to Avoid Them
