JSX namespaces with non-React library #9674
Unanswered
Kapelianovych
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I am using UI library which requires some attributes to be prefixed with a namespace. The example:
I defined the
tsconfig.json
as follows:And I get the next error:
The main question is: where and how I should define jsc.transform.react.throwIfNamespace as
false
? I feel like it has something to do with the@parcel/transformer-js
, but that package doesn't have any documentation.Beta Was this translation helpful? Give feedback.
All reactions