Not sure if it was intended or not, but this commit removed quotes in compiled JSX output for attribute names which are reserved words in javascript, like "class".
get [class]() without quotes is invalid syntax in chrome, so I think the quotes are necessary at least for the web.
If it's ok to have quotes for all targets (ssr, universal?), the fix is pretty simple - revert t.isValidIdentifier call to the form it was before that commit - without the second false parameter.
Not sure if it was intended or not, but this commit removed quotes in compiled JSX output for attribute names which are reserved words in javascript, like "class".
get [class]()
without quotes is invalid syntax in chrome, so I think the quotes are necessary at least for the web.If it's ok to have quotes for all targets (ssr, universal?), the fix is pretty simple - revert
t.isValidIdentifier
call to the form it was before that commit - without the secondfalse
parameter.