-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Support xml namespaces in JSX #13728
Comments
@mstijak thank you for opening this issue. Would you mind sharing a simple code example? I believe this is an issue for the JavaScript language service. |
I'm developing a framework which offers advanced data-binding options. It's a non-standard use case, but namespaces provide a very convenient syntax. This is how you declare a two-way data binding:
You can see the full example here: Also, I noticed that of the leading React developers is considering using |
This issue was moved to microsoft/TypeScript#11833 |
Visual Studio Code reports syntax errors if namespaces are used inside JSX.
Namespaces are not supported by React (babel-plugin-transform-react-jsx),
but Babel correctly parses them (babel-plugin-syntax-jsx).
Is this something that should be added directly to VSCode or an extension would be a better choice?
WebStorm and Sublime Text do not have this problem.
The text was updated successfully, but these errors were encountered: