Skip to content
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

JSX-compatible XMLNode factory #15

Open
sophiebremer opened this issue Jul 19, 2023 · 0 comments
Open

JSX-compatible XMLNode factory #15

sophiebremer opened this issue Jul 19, 2023 · 0 comments
Labels
Feature Request New feature request Undecided This will not be worked on

Comments

@sophiebremer
Copy link
Member

Is your feature request related to a problem? Please describe.
There is no way to create XML in JSX-syntax.

Describe the solution you'd like
TypeScript allows the definition of a JSX factory in tsconfig.json, that it will use as the compilation target of TSX. The library should provide such factory, that can be used manually and by TypeScript.

Describe alternatives you've considered
An alternative could be https://github.com/tracespace/xml-element-string, but it lacks nearly all XML features and typing.

Additional context
https://www.typescriptlang.org/tsconfig#jsxFactory
https://www.typescriptlang.org/docs/handbook/jsx.html

@sophiebremer sophiebremer added the Feature Request New feature request label Jul 19, 2023
@sophiebremer sophiebremer added the Undecided This will not be worked on label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature request Undecided This will not be worked on
Development

No branches or pull requests

1 participant