Full Stack Radio

87: Chris Fritz - Vue.js Anti-Patterns (and How to Avoid Them)

Full Stack Radio

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:

Next Episodes



Full Stack Radio

84: Edd Yerburgh - Testing Vue.js Components @ Full Stack Radio

📆 2018-03-14 15:07 / 00:44:29