feat: remove support for static properties
- focus usage on static props Blueprint for Proxy
This commit is contained in:
parent
ab8156a2b0
commit
8a63ed56f5
1 changed files with 1 additions and 7 deletions
|
@ -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<string>}
|
||||
*/
|
||||
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() {
|
||||
|
|
Loading…
Reference in a new issue