React 17: pragma and pragmaFrag cannot be set when runtime is automatic #1345
-
I have been enjoying MDX@2 but hit the error
If I downgrade react to v16, then everything works fine 👌
I am wondering If the issue relates to the new JSX Transform but I'm not sure to resolve. Thanks to anyone who can offer a suggestion! |
Beta Was this translation helpful? Give feedback.
Answered by
ChristianMurphy
Nov 18, 2020
Replies: 1 comment 1 reply
-
V1 got a fix for this #1307 Lines 95 to 109 in e194fc1 A PR porting the change to v2 would be welcome! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
michrome
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
V1 got a fix for this #1307
it looks like it hasn't been applied to v2 yet
mdx/packages/mdx/index.js
Lines 95 to 109 in e194fc1
A PR porting the change to v2 would be welcome!