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
@parcel/transformer-js: JSX Namespace is disabled by default because react does not support
it yet. You can specify jsc.transform.react.throwIfNamespace to false to override default
behavior
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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