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
Filing this in case other folks stumble on the same issue
Changes introduced in 3.1.4 make lit-based app (written in ts) fail with :
chunk-ZXEQAGIL.js?v=5aae4da4:439 Uncaught (in promise) Error: The following properties on element app-survey
will not trigger updates as expected because they are set using class fields: disableProminent, prominent, showHelp,
menu, matchedRoute. 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.
even though tsconfig has: "useDefineForClassFields": false
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
I really don't get what is happening on my locale install. Everything seems to work fine on stackblitz, but running on my machine fail (with same ts.config and vite.config.js, and with "useDefineForClassFields": false).
I'll enquire a bit more and close this issue if I am unable to identify what is coming in the way.
Describe the bug
Filing this in case other folks stumble on the same issue
Changes introduced in 3.1.4 make lit-based app (written in ts) fail with :
even though tsconfig has:
"useDefineForClassFields": false
Workaround:
in vite.config.js
Reproduction
https://stackblitz.com/edit/vitejs-vite-q1eiyr?file=index.html
Steps to reproduce
No response
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: