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

perf: refactor devWarning for production code size #35411

Merged
merged 14 commits into from May 10, 2022
Merged

perf: refactor devWarning for production code size #35411

merged 14 commits into from May 10, 2022

Commits on May 10, 2022

  1. pref: better code style for production

    * refactor `devWarning`
    
    * don't use `useEffect` only wrap `devWarning`
    KAROTT7 committed May 10, 2022
    Configuration menu
    Copy the full SHA
    b4d005f View commit details
    Browse the repository at this point in the history
  2. chore: add 'noop' to coverage

    KAROTT7 committed May 10, 2022
    Configuration menu
    Copy the full SHA
    71bbc0d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f199594 View commit details
    Browse the repository at this point in the history
  4. chore: add test case

    KAROTT7 committed May 10, 2022
    Configuration menu
    Copy the full SHA
    ac99954 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e58be0d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1f4fcf6 View commit details
    Browse the repository at this point in the history
  7. fix: remove 'throw new Error'

    * should not use `throw` for browser
    KAROTT7 committed May 10, 2022
    Configuration menu
    Copy the full SHA
    146500c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    201521f View commit details
    Browse the repository at this point in the history
  9. perf: add prefix for devWarning

    * update RegExp for UMD
    
    * add prefix for ES and CJS
    KAROTT7 committed May 10, 2022
    Configuration menu
    Copy the full SHA
    39988b8 View commit details
    Browse the repository at this point in the history
  10. chore: better code style

    KAROTT7 committed May 10, 2022
    Configuration menu
    Copy the full SHA
    177308e View commit details
    Browse the repository at this point in the history
  11. perf:

    * upgrade antd-tools
    
    * remove `injectWarningCondition`
    
    * rename `devWarning` to `warning`
    KAROTT7 committed May 10, 2022
    Configuration menu
    Copy the full SHA
    ff1871d View commit details
    Browse the repository at this point in the history
  12. chore: better code style

    KAROTT7 committed May 10, 2022
    Configuration menu
    Copy the full SHA
    792f4ab View commit details
    Browse the repository at this point in the history
  13. chore: better code style

    KAROTT7 committed May 10, 2022
    Configuration menu
    Copy the full SHA
    55b53fd View commit details
    Browse the repository at this point in the history
  14. chore: restore hasValidName

    KAROTT7 committed May 10, 2022
    Configuration menu
    Copy the full SHA
    a9d41a1 View commit details
    Browse the repository at this point in the history