I have been working on Blade Components lately, specifically styling different elements from outside and this has been my experience.
1. I can't pass any attribute without having a slot present and imperatively have a closing tag.
2. I loose the simplicity and the clean feel that components provide.
Back
•
In response to @abdelhamid
The scope method is a ComponentAttributeBag Macro that i made to allow me to scope attributes to specific elements within the blade component, meaning any attribute prefixed with the name of a scope would be affected the element with that scope.