You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not a bad idea. There is one use case though that relies on it allowing duplicates: extending components. We could make it an option, disabled by default.
My thoughts were to try and find a way to prevent accidentally braking encapsulation. An alternative method to ensure encapsulation could be to add an option to generate a random suffix id at the end of the component selector ie .selector-ID43F6 but then that makes things hard to use in other places for example selecting in javascript with querySelector(). It would also brake your method for extending again ;)
Hello,
Any chance in implementing a feature to check for duplicate components.
This would help us avoid overriding existing components.
Cheers
The text was updated successfully, but these errors were encountered: