vuejs / vuejs/docs

scoped CSS performance impact

Open
#2,608 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

contribution welcome
Dominant language
Vue
Stars
3.2k
Forks
5k
Avg merge
14d 17h
Merged PRs (30d)
1

Description

https://github.com/vuejs/docs/blob/4cbc64e4e560de20d5aa362cb0db1a46ad5a1678/src/api/sfc-css-features.md?plain=1#L101

After reading this part of the docs, I got curious about the performance impact of attribute selectors, but could not find any conclusive evidence one way or the other. Lots of dead links, 10+ years old articles and presentations with general advice but no benchmarks, etc. The closest thing I got was this issue, which apparently only affects IE11.

It would be great to have some context on the issue of attribute selector performance and if the mentioned performance penalty still exists today (maybe in the form of "further reading" links).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/api/sfc-css-features.md around line 101, then review the linked historical discussion and the references already mentioned in the issue. Establish current evidence about attribute-selector performance and update the documentation with concise context or reliable further-reading links; the relevant section should clearly reflect the findings.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.