87: Chris Fritz - Vue.js Anti-Patterns (and How to Avoid Them) | Full Stack Radio | Episode 87
Adam Wathan
·
2018-04-26
·
via Full Stack Radio
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
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:
Links:
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.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。