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
When using JSX with the precompile mode, props are converted to lowercase. This is particularly problematic if you’re working with SVGs, which has case-sensitive attributes.
To test this, I set jsxImportSource to a file that replaces all the JSX functions with console.log. Given the following JSX:
<divsomeProp="value"/>;
With "jsx": "react-jsx":
div{someProp: "value"}
With "jsx": “precompile"
['<div someprop="value"></div>']
The text was updated successfully, but these errors were encountered:
Version: Deno 1.45.5
When using JSX with the
precompile
mode, props are converted to lowercase. This is particularly problematic if you’re working with SVGs, which has case-sensitive attributes.To test this, I set
jsxImportSource
to a file that replaces all the JSX functions withconsole.log
. Given the following JSX:With
"jsx": "react-jsx"
:With
"jsx": “precompile"
The text was updated successfully, but these errors were encountered: