unplugin / unplugin-vue-ce

🍒 A vue plugin that extends vue's Custom Element capabilities
MIT License
75 stars 3 forks source link

fix: multiple ce instances styles tracking #114

Closed OBe95 closed 9 months ago

OBe95 commented 9 months ago

Description

close #113 Removing the 1st CE instance of a v-for, leads to style being completely removed from the DOM even though there are still other CEs relying on it

This seems to be linked to the optimisation done in this PR to avoid appending the same style multiple time

Linked Issues

Additional context

stackblitz[bot] commented 9 months ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.