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

fix(plugin-react): React is not defined when component name is lowercase #6838

Merged

Commits on Feb 10, 2022

  1. fix(plugin-react): fix React is not defined when component name is lo…

    …wercase
    
    When the react variables (such as React__default) of the code in our third-party dependencies are converted to React, and the component name is lowercase, it is not converted to jsx, which will cause React to be undefined after restoring the code.
    yulong.xiang committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    5c9c812 View commit details
    Browse the repository at this point in the history
  2. fix(plugin-react): fix React is not defined when component name is lo…

    …wercase
    
    add test
    yulong.xiang committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    98d55e6 View commit details
    Browse the repository at this point in the history
  3. refactor some

    aleclarson committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    37ca8f6 View commit details
    Browse the repository at this point in the history