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(compiler-core): cache v-on handler with modifiers #8896

Closed
wants to merge 6 commits into from

Conversation

edison1105
Copy link
Member

close #8882

@edison1105 edison1105 changed the title fix(v-on): cache handlers with modifier fix(v-on): cache handler with modifiers Aug 2, 2023
@sxzz sxzz changed the title fix(v-on): cache handler with modifiers fix(compiler-core): cache v-on handler with modifiers Aug 12, 2023
@sxzz sxzz added the ready to merge The PR is ready to be merged. label Aug 12, 2023
@github-actions
Copy link

github-actions bot commented Oct 20, 2023

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 85.9 kB 32.7 kB 29.5 kB
vue.global.prod.js 132 kB 49.4 kB 44.4 kB

Usages

Name Size Gzip Brotli
createApp 47.9 kB 18.9 kB 17.2 kB
createSSRApp 50.7 kB 20 kB 18.2 kB
defineCustomElement 50.3 kB 19.7 kB 18 kB
overall 61.3 kB 23.7 kB 21.6 kB

@yyx990803
Copy link
Member

I think it's more straightforward to cache directly on the wrapped function: da4a4fb

@yyx990803 yyx990803 closed this Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge The PR is ready to be merged.
Projects
Status: Rejected
Development

Successfully merging this pull request may close these issues.

When using event modifiers on a component it will always update unnecessarily (performance issue)
3 participants