I had a bug with shadcn in some circumstance where there was an issue binding $attr, and I checked with ChatGPT (😅) and it said that in vue3 it's no longer needed to use
It depends yaa.. if the root component is the desired component, we dont need v-bind$attrs. In many case the root component is not the desired element to bind the attrs, thus we use v-bind.
Environment
Link to minimal reproduction
none
Steps to reproduce
I had a bug with shadcn in some circumstance where there was an issue binding $attr, and I checked with ChatGPT (😅) and it said that in vue3 it's no longer needed to use
since it's automatically included in v-bind
Describe the bug
remove $attr
Expected behavior
No response
Conext & Screenshots (if applicable)
No response