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

Generate duplicated css in dev mode when Attributify Mode is enable #101

Open
masonzz opened this issue Nov 17, 2021 · 1 comment
Open

Comments

@masonzz
Copy link

masonzz commented Nov 17, 2021

Describe the bug
Genetate duplicated css in dev mode

To Reproduce
I could provide a repository if you need.

Screenshots

<div p="t-10">This is a WindiCss Demo</div>

it's ok when first render.

image

then I change p="t-10" to p="t-15", it's still ok

image

but when I change p="t-15" back to p="t-10", code for p="t-10" is duplicated.

image

@masonzz masonzz changed the title Genetate duplicated css in dev mode when Attributify Mode is enable Generate duplicated css in dev mode when Attributify Mode is enable Nov 17, 2021
@harlan-zw
Copy link
Member

Hey @masonzz

Thanks for the issue, good catch. This seems like an issue with the windi core only affecting the development HMR. Since we have affordances in development for dodgy stuff like this, I'd deem this fairly low priority to fix.

However, I'll try to dig into it a bit deeper when I have some time

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

No branches or pull requests

2 participants