From Vue Mastery.
- Create components easy to use & maintain
- Avoid common mistakes that makes our components more prone to bugs
- Feel empowered to make architectural desition that are best for your app.
For a lot of use case Component Design Patters might works, but for others it can be an antipattern.
So, this are guidelines not rules and it's important to understand the potential benefits that best fit, for your application.
- Pros (array and object definition style)
- Problems of overly relay on Pros to enhance components
- Slot Techniques
I'll expand more about this topic on following posts.
If you can afford, i'll recommend to invest on Vue Mastery Course.
Don't forget to drink water.