You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://lit.dev/docs/tools/development/#typescript currently doesn't explain that you need to ensure useDefineForClassFields is off and it's pretty tricky to figure out that your problem is in tsconfig.json when this happens because there are no tsc errors and initial renders are fine (components just don't update)
#479 added the important bits but only to the middle of components → reactive properties
https://lit.dev/docs/tools/development/#typescript currently doesn't explain that you need to ensure
useDefineForClassFields
is off and it's pretty tricky to figure out that your problem is intsconfig.json
when this happens because there are no tsc errors and initial renders are fine (components just don't update)#479 added the important bits but only to the middle of components → reactive properties
also, https://stackblitz.com/edit/lit-element-typescript-demo is broken in exactly this way! it targets
esnext
, which defaultsuseDefineForClassFields
to truepossibly related: #583
The text was updated successfully, but these errors were encountered: