DEV Community

Discussion on: Keep it Silly, Stupid

Collapse
 
moruno21 profile image
Antonio Moruno Gracia • Edited

Sure, I understand your point. The key word for me here is not generic: it's composition.

I found lots of components which are coupled to the use case they solve, which in some cases could work just fine (e.g. a very specific component you know that it's going to be used just in one place). But, If you have a component that you'll probably use in more that one place (e.g. a dropdown component), making it composable it's the approach that I'd recommend.

Thank you very much for the feedback :)