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

Duplicated styles #4

Closed
EccentricVamp opened this issue Nov 19, 2022 · 1 comment
Closed

Duplicated styles #4

EccentricVamp opened this issue Nov 19, 2022 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@EccentricVamp
Copy link
Owner

Islands sometimes result in hydrated and non-hydrated styles containing overlapping duplicates. The bug isn't severe, just annoying and inefficient.

I'm not sure how to fix it, so someone else will probably need to resolve it. Hopefully the official plugin gets updated soon.

@EccentricVamp EccentricVamp added bug Something isn't working help wanted Extra attention is needed labels Nov 19, 2022
@EccentricVamp
Copy link
Owner Author

This turned out to be as simple as using a different method for getting Twind styles. stringify, inline, extract, and convert all do really similar things and the comments don't really make it clear which one is which.

I was using extract when I should've been using stringify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant