lambda-packages icon indicating copy to clipboard operation
lambda-packages copied to clipboard

Lit component loses it's property state

Open vlyamzin opened this issue 3 years ago • 0 comments

What version of astro are you using?

1.1.2

Are you using an SSR adapter? If so, which one?

no

What package manager are you using?

npm

What operating system are you using?

Mac

Describe the Bug

Lit component loses a property state when provided from the outside. The initial state is being rendered correctly though.

Compare pure Lit solution on stackblitz with Astro framework Lit example here

In the first example, the counter is incremented. The second example returns NaN.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-gar9g1

Participation

  • [ ] I am willing to submit a pull request for this issue.

vlyamzin avatar Aug 31 '22 09:08 vlyamzin