Skip to content

Commit 2e4b1f1

Browse files
authored
Merge pull request #148 from grucloud/attribute-collision
lifecycle name collision
2 parents da22b06 + 717ffb7 commit 2e4b1f1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

bau/bau.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,14 @@ export default function Bau(input) {
370370
for (let [k, v] of Object.entries(props)) {
371371
if (k == "bauUpdate") {
372372
element[k] = v;
373-
} else if (k.startsWith("bau")) {
373+
} else if (
374+
[
375+
"bauCreated",
376+
"bauMounted",
377+
"bauUnmounted",
378+
"bauChildMutated",
379+
].includes(k)
380+
) {
374381
} else {
375382
let setter = isSettableProp(name, k, protoOf(element))
376383
? (v) => v !== undefined && (element[k] = v)

0 commit comments

Comments
 (0)