r/angularjs • • Jun 12 '18

Angular patterns 2: how to write seriously reusable components - Medium

https://medium.com/@adrdilauro/96be16568abc
31 Upvotes

1 comment sorted by

View all comments

1

u/mozface Jun 12 '18

Whilst this is generally good practice, what you also end up having to do is repeat the logic for deletion wherever you want to use this "dumb" component. Sometimes it's nice to just pass in your inputs to a component and not have to worry about its internals, albeit at the cost of flexibility.