filmov
tv
Surprising differences in Selector Performance

Показать описание
Like so many things in web development, some well-established things are rooted in decade-old information that hasn't been true for awhile. It seems like this is the case here. Still, it also turns out there are some selectors that I use regularly, and at least one that basically everyone uses, which actually are slow (relatively speaking, anyway)!
🔗 Links
⌚ Timestamps
00:00 - Introduction
01:39 - How we’re doing the tests
05:21 - Class vs. Attribute selectors
08:28 - comma-separated selectors vs. :is(), :where, and :not()
13:30 - The universal selector
15:38 - Is it worth worrying about?
#css
--
Come hang out with other dev's in my Discord Community
Keep up to date with everything I'm up to
Come hang out with me live every Monday on Twitch!
---
Help support my channel
---
---
I'm on some other places on the internet too!
If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.
---
And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!
Комментарии