We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f31a6c1 commit d8a36d0Copy full SHA for d8a36d0
packages/compiler-core/src/transforms/transformElement.ts
@@ -807,7 +807,7 @@ function dedupeProperties(properties: Property[]): Property[] {
807
const name = prop.key.content
808
const existing = knownProps.get(name)
809
if (existing) {
810
- if (name === 'style' || name === 'class' || name.startsWith('on')) {
+ if (name === 'style' || name === 'class' || isOn(name)) {
811
mergeAsArray(existing, prop)
812
}
813
// unexpected duplicate, should have emitted error during parse
0 commit comments