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

feat: prop and attr modifiers for v-bind #79

Merged
merged 7 commits into from
Jan 20, 2024

Conversation

ygj6
Copy link
Member

@ygj6 ygj6 commented Dec 24, 2023

close: #76

I refactored some of the logic in setDynamicProp and integrated it into genSetProp to replace setAttr. This change should align better with the core logic.

@ygj6 ygj6 force-pushed the feat/v-bind-modifiers branch from 77c92b7 to 9806d8a Compare December 25, 2023 01:47
# Conflicts:
#	packages/compiler-vapor/__tests__/__snapshots__/compile.spec.ts.snap
#	packages/compiler-vapor/__tests__/transforms/__snapshots__/vBind.spec.ts.snap
#	packages/compiler-vapor/__tests__/transforms/vBind.spec.ts
Copy link

github-actions bot commented Dec 25, 2023

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 90.7 kB 34.5 kB 31 kB
runtime-vapor.global.prod.js 24.8 kB (+103 B) 9.45 kB (+36 B) 8.69 kB (+34 B)
vue-vapor.global.prod.js 61 kB (+336 B) 21.1 kB (+129 B) 19.1 kB (+105 B)
vue.global.prod.js 148 kB 53.7 kB 48 kB

Usages

Name Size Gzip Brotli
createApp 51.3 kB 20 kB 18.2 kB
createSSRApp 54.6 kB 21.3 kB 19.4 kB
defineCustomElement 53.5 kB 20.7 kB 18.9 kB
vapor 25 kB (+101 B) 9.53 kB (+37 B) 8.74 kB (+30 B)
overall 65 kB 25 kB 22.7 kB

@ygj6 ygj6 marked this pull request as ready for review December 25, 2023 02:55
ygj6 added 4 commits December 27, 2023 10:57
# Conflicts:
#	packages/compiler-vapor/__tests__/__snapshots__/compile.spec.ts.snap
#	packages/compiler-vapor/__tests__/transforms/__snapshots__/vBind.spec.ts.snap
#	packages/compiler-vapor/__tests__/transforms/vBind.spec.ts
@ygj6 ygj6 force-pushed the feat/v-bind-modifiers branch from f0a872b to 0425692 Compare January 15, 2024 07:15
@ygj6
Copy link
Member Author

ygj6 commented Jan 15, 2024

Hi @sxzz is there anything I can do to help this PR get merged. Can you review it when you have time?

@sxzz
Copy link
Member

sxzz commented Jan 20, 2024

Let's merge this now and feel free to create another PR for optimizing.

@sxzz sxzz merged commit 775491e into vuejs:main Jan 20, 2024
3 checks passed
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.

[Directives] Modifiers for v-bind
2 participants