Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: disable new jsx transform #88

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

Closed

Conversation

@zhuangya
Copy link

@zhuangya zhuangya commented Oct 24, 2020

react-scripts@4.0.0 introduce new jsx transformer, because of that,
overiding React's createElement would not work anymore.

set env of DISABLE_NEW_JSX_TRANSFORM to keep using the old jsx
transform so that the tests would pass (source)

it's a temporary solution

roni-castro reacted with thumbs up emoji
react-scripts@4.0.0 introduce new jsx transformer, because of that,
overiding React's `createElement` would not work anymore.
set env of `DISABLE_NEW_JSX_TRANSFORM` to keep using the old jsx
transform so that the tests would pass ([source][1])
it's a temporary solution
[1]: facebook/create-react-app@2b1161b#diff-4f6f41a4cff8d78483f30bcf1befa1a002c4995cf9cd2ab6622eed82db48530cR13 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /