linkedin / linkedin/opticss

analysis of state that spans attributes

Open
#17 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
713
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Presently, dynamic states of an element are only able to express dynamism within the possible values for a single attribute. This works for css-blocks because all styles are passed to opticss as classnames, but css-blocks could similarly produce correlated analysis of many attributes and let opticss drive the optimization to classnames during rewrite. Other frameworks may have different ways of expressing styles that are more semantic and would be more correctly handled this way.

Contributor guide

Open the contributing guide

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

The issue names no files, tests, or entry points. Start by examining how dynamic state is currently represented for a single attribute in opticss and how css-blocks passes styles as classnames; done would require a defined, validated approach for analyzing correlated state across attributes and rewriting it appropriately.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, typescript
Domain
frontend, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.