We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5898629 commit 04aa312Copy full SHA for 04aa312
packages/runtime-core/src/componentProps.ts
@@ -224,6 +224,11 @@ export function updateProps(
224
const propsToUpdate = instance.vnode.dynamicProps!
225
for (let i = 0; i < propsToUpdate.length; i++) {
226
let key = propsToUpdate[i]
227
+ // if the prop key is a declared emit event listener.
228
+ // use continue to skip this prop
229
+ if (isEmitListener(instance.emitsOptions, key)){
230
+ continue
231
+ }
232
// PROPS flag guarantees rawProps to be non-null
233
const value = rawProps![key]
234
if (options) {
0 commit comments