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

Reenable React "automatic" runtime #77

Open
eric-burel opened this issue Nov 20, 2020 · 0 comments
Open

Reenable React "automatic" runtime #77

eric-burel opened this issue Nov 20, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@eric-burel
Copy link
Collaborator

Describe the bug
"automatic" runtime of React 17 is creating issue with pragma/pragmaFrag in JSX (it is what handles <> syntax for React.Fragment as far as I understand and other global React)
To Reproduce

Remove runtime: "classic" in babel.config.js, it will raise the error on app build.

Expected behavior
We shouldn't need to use such hacks and be able to use runtime automatic.

It probably needs 3rd party packages like MDX to update. See mdx-js/mdx#1014

Additional context
Next 10 React 17

@eric-burel eric-burel added the bug Something isn't working label Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant