87: Chris Fritz - Vue.js Anti-Patterns (and How to Avoid Them)
source link: https://share.transistor.fm/s/6123dc51
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Full Stack Radio
Episode Details
In this episode, Adam talks to Chris Fritz about common mistakes people make when designing Vue.js applications, and better ways to solve the same problems.
Show Notes
- 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
- 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
What is Full Stack Radio?
A podcast for developers interested in building great software products. Every episode, Adam Wathan is joined by a guest to talk about everything from product design and user experience to unit testing and system administration.
All audio, artwork, episode descriptions and notes are property of Adam Wathan, for Full Stack Radio, and published with permission by Transistor, Inc.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK