Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(attributify-jsx): support rewriting colon operator #1524

Merged
merged 2 commits into from Sep 2, 2022
Merged

feat(attributify-jsx): support rewriting colon operator #1524

merged 2 commits into from Sep 2, 2022

Conversation

Flower-F
Copy link
Contributor

@Flower-F Flower-F commented Sep 1, 2022

Although the react jsx doesn't support the colon operator, we can try to change the colon operator into a short dash operator so that we can avoid the limitation of react. And then we can use some more semantic grammars like hover:op30 instead of hover-op30.

@Flower-F Flower-F requested a review from antfu as a code owner September 1, 2022 16:59
@netlify
Copy link

netlify bot commented Sep 1, 2022

Deploy Preview for unocss canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 145b686
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/6310e4f31454440008ea847b

@antfu antfu changed the title fix: add the colon operator support for react-jsx feat(attributify-jsx): support rewriting colon operator Sep 2, 2022
@antfu antfu merged commit b7270ef into unocss:main Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants