
technologyApr 25, 20181:10:15pending
87: Chris Fritz - Vue.js Anti-Patterns (and How to Avoid Them)
About this episode
Topics include:
- Why global state is better than an event bus
- Why and how to avoid using this.$parent
- Custom events vs. callback props
- When to use watchers and when you don't need to
- Why you should prefer computed properties over methods
- Inline templates vs. scoped slots
- Using components to share code instead of mixins or directives
Sponsors:
- Rollbar, sign up at https://rollbar.com/fullstackradio to try their Bootstrap Plan free for 90 days
- Codeship, check out how they performed in Forrester's latest Continuous Integration Tools report
Links:
- Advanced Vue Component Design, Adam's upcoming course
- Chris on GitHub
- Chris on Patreon
- "7 Secret Patterns Vue Consultants Don't Want You To Know", Chris' recent presentation
- "Methods, Computed, and Watchers in Vue.js" by Sarah Drasner
- PortalVue, library for rendering elements outside of their parent component
- vue-enterprise-boilerplate
Get every episode summarized
Each time Full Stack Radio publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
Hosts & guests
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from Full Stack Radio

153: DHH – Omarchy and Designing Your Own OS on Arch Linux
Full Stack Radio
Aug 21, 20251:16:25pending

152: Ben Orenstein - How to Stand Out When Applying for a Job at a Small Company
Full Stack Radio
Jan 28, 202147:43pending

151: DHH – Building HEY with Hotwire
Full Stack Radio
Dec 28, 20201:14:00pending

150: Secret Screencasting Tips & Behind the Scenes of Tailwind CSS 2.0
Full Stack Radio
Oct 21, 202059:12pending