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

Fix class property Vue hydration error #9620

Merged
merged 1 commit into from
Jan 5, 2024
Merged

Fix class property Vue hydration error #9620

merged 1 commit into from
Jan 5, 2024

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented Jan 5, 2024

Changes

fix #9617

The delete props['class'] was introduced in 1103cb1, but I'm not sure why. But this should work fine today without the deletion.

Testing

Existing tests should pass. Also tested this fix with the repro.

Docs

n/a. bug fix.

Copy link

changeset-bot bot commented Jan 5, 2024

🦋 Changeset detected

Latest commit: dc7f2db

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added pkg: vue Related to Vue (scope) pkg: integration Related to any renderer integration (scope) docs pr A PR that includes documentation for review labels Jan 5, 2024
@Princesseuh
Copy link
Member

If @matthewp remember why he added that line, could be neat to have an explanation

@maddsua
Copy link

maddsua commented Jan 5, 2024

I wonder why did it break things now, considering that the commit in question is like 2 years old

@matthewp matthewp merged commit a1bb5fe into main Jan 5, 2024
13 checks passed
@matthewp matthewp deleted the vue-class-hydrate branch January 5, 2024 20:03
@astrobot-houston astrobot-houston mentioned this pull request Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs pr A PR that includes documentation for review pkg: integration Related to any renderer integration (scope) pkg: vue Related to Vue (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hydration error with Vue component on Astro 4.1.0 (scopedStyleStrategy is broken)
4 participants