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
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.
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
The text was updated successfully, but these errors were encountered: