Don't emit dynamic classes that are already static
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 713
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
an optimized style that's set because it's inferred by both a static and a dynamic source value is currently returned as being set dynamically in addition to the static value. The dynamic class should be removed from the rewrite mapping.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Trace the rewrite mapping logic responsible for optimized styles inferred from both static and dynamic source values. Confirm the case where the style is already static, remove its dynamic class from the mapping, and verify that the resulting output no longer emits the redundant dynamic class.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, typescript
- Domain
- performance, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100