Describe the bug
After installing the NPM library (not in dev) and using a JS component, Lit gives the following error:
@wrap__ngo_evergreen…nt_Icon_Icon.js:767 Uncaught (in promise) Error: The following properties on element evg-icon will not trigger updates as expected because they are set using class fields: variant, label, icon, set. Native class fields and some compiled output will overwrite accessors used for detecting changes. See https://lit.dev/msg/class-field-shadowing for more information.
To Reproduce
Steps to reproduce the behavior:
- Install
- import js component with props like evg-icon
- view console
Expected behavior
I think these should use Lits @property decorator(?)
Describe the bug
After installing the NPM library (not in dev) and using a JS component, Lit gives the following error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I think these should use Lits
@propertydecorator(?)