I've been learning about slots in Vue this afternoon. I think I understand how to code them but I wonder if they are a bad idea as far as design goes.
It seems to me that building things from self-contained components with clear ways to send the components data and to get data back from them is a central idea in Vue and is a very good idea. From what I've seen about slots today, they seem to undermine that idea rather dramatically by (potentially) moving a lot of the functionality from the component up to the root.
Is that a valid objection or am I just thinking of things the wrong way?