diff --git a/src/WebComponent.js b/src/WebComponent.js index fafaf83..6efba52 100644 --- a/src/WebComponent.js +++ b/src/WebComponent.js @@ -21,12 +21,6 @@ export class WebComponent extends HTMLElement { #props #typeMap = {} - /** - * Array of strings that tells the browsers which attributes will cause a render - * @type {Array} - */ - static properties = [] - /** * Blueprint for the Proxy props * @typedef {{[name: string]: any}} PropStringMap @@ -96,7 +90,7 @@ export class WebComponent extends HTMLElement { ? Object.keys(this.props).map((camelCase) => getKebabCase(camelCase)) : [] - return [...new Set([...this.properties, ...propKeys])] + return propKeys } connectedCallback() {