There was an error while loading. Please reload this page.
1 parent afbd653 commit cdc294eCopy full SHA for cdc294e
1 file changed
src/ce-la-react.ts
@@ -218,6 +218,7 @@ export function createComponent<I extends HTMLElement, E extends EventNames = {}
218
// a primitive value that should be set as an attribute and will
219
// internally be reflected to the accompanying property.
220
if (
221
+ elementClass.prototype &&
222
k in elementClass.prototype &&
223
!(k in (globalThis.HTMLElement?.prototype ?? {})) &&
224
!elementClass.observedAttributes?.some((attr) => attr === attrName)
0 commit comments