Skip to content

Conversation

@zhuangya
Copy link

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

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
@zhuangya zhuangya force-pushed the disable-new-jsx-transform branch from 530b824 to 8b73fba Compare October 24, 2020 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant