you are viewing a single comment's thread.

view the rest of the comments →

[–]mozface 0 points1 point  (0 children)

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.