Skip to content

anyMatches 问题 #640

Closed Answered by lisonge
aoguai asked this question in Q&A
Discussion options

You must be logged in to vote

如果使用到 index 属性或者有兄弟选择器,第一种更高效

因为 同一个 rule 有缓存,执行下一个 rule 时会清除缓存

如果选择器只是单个节点和简单的属性,那没有区别

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aoguai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants