We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e603fd2 commit 97f6bd9Copy full SHA for 97f6bd9
packages/runtime-core/src/componentProps.ts
@@ -303,7 +303,11 @@ export function updateProps(
303
// attrs point to the same object so it should already have been updated.
304
if (attrs !== rawCurrentProps) {
305
for (const key in attrs) {
306
- if (!rawProps || !hasOwn(rawProps, key)) {
+ if (
307
+ !rawProps ||
308
+ (!hasOwn(rawProps, key) &&
309
+ (!__COMPAT__ || !hasOwn(rawProps, key + 'Native')))
310
+ ) {
311
delete attrs[key]
312
hasAttrsChanged = true
313
}
0 commit comments