-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Escaped double quote in JSX attribute #1115
Comments
Also
the actual transform result is missing
|
JSX is not JS, and strings in JSX do not work like strings in JS. There is nothing in the JSX specification that mentions backslash escapes. TypeScript, Babel, and esbuild will all not compile this JSX code because it contains a syntax error. You can escape a quote in JSX using
Your problem is unrelated to the original post. The Closing because this is working as intended. |
The text was updated successfully, but these errors were encountered: