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: process some keys for el[key] in hydration mismatch #10060

Closed
wants to merge 1 commit into from

Conversation

zh-lx
Copy link
Contributor

@zh-lx zh-lx commented Jan 10, 2024

close #10057

Some keys need to be processed before they can be obtained by el[key]. Such as readonly -> readOnly

Copy link

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 89.5 kB 34.1 kB 30.7 kB
vue.global.prod.js 147 kB 53.3 kB 47.7 kB

Usages

Name Size Gzip Brotli
createApp 49.8 kB 19.5 kB 17.8 kB
createSSRApp 53.1 kB 20.8 kB 19 kB
defineCustomElement 52.1 kB 20.2 kB 18.5 kB
overall 63.3 kB 24.4 kB 22.3 kB

@yyx990803 yyx990803 closed this in 972face Jan 10, 2024
@yyx990803
Copy link
Member

The better fix is dealing with boolean attributes w/ separate logic - handling special cases like this is fragile.

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.

input hydration mismatch with SSR
2 participants