fix(runtime-core): preserve once event listener name#8341
Conversation
|
Hi, I have fixed this in #8338 , I think the regex used in parse Name should be modified to fix this. |
|
I only observed the problem of event modifier replacement, thank you for your addition. |
# Conflicts: # packages/runtime-core/__tests__/componentEmits.spec.ts
Size ReportBundles
Usages
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthrough
ChangesOnce listener handling
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
@vue/compiler-core
@vue/compiler-dom
@vue/compiler-sfc
@vue/compiler-ssr
@vue/reactivity
@vue/runtime-core
@vue/runtime-dom
@vue/server-renderer
@vue/shared
vue
@vue/compat
commit: |
|
/ecosystem-ci run |
|
📝 Ran ecosystem CI: Open
|
close: #8342
relate: #8334
Issue exposed by #8334 and doesn't seem to be fixed by 7cc31a5
Summary by CodeRabbit
Bug Fixes
.onceevent listeners so event names are recognized correctly in more cases.onOnceandonOnceOnce.Tests
.oncelistener behavior.