re: Reasons not to use IDs in CSS VIEW POST


using ids is way more performant for css rendering not that it will make much difference when compared to other optimiztions but if you using web components where ids don't leak out of the shadow dom it doesn't make much since to use class for single use since that class can't be used anywhere else.

Code of Conduct Report abuse