ant-design/components/button
Karott 338ec7dad7
perf: refactor devWarning for production code size (#35411)
* pref: better code style for production

* refactor `devWarning`

* don't use `useEffect` only wrap `devWarning`

* chore: add 'noop' to coverage

* chore: add test cases for devWarning

* chore: add test case

* chore: update test cases for devWarning

* chore: restore test script command

* fix: remove 'throw new Error'

* should not use `throw` for browser

* chore: update test case for AutoComplete

* perf: add prefix for `devWarning`

* update RegExp for UMD

* add prefix for ES and CJS

* chore: better code style

* perf:

* upgrade antd-tools

* remove `injectWarningCondition`

* rename `devWarning` to `warning`

* chore: better code style

* chore: better code style

* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
..
__tests__ chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
demo docs: replace class component with hooks (#35461) 2022-05-10 13:00:31 +08:00
style refactor: Simplify Button Group Style (#35175) 2022-04-22 17:40:52 +08:00
button-group.tsx perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
button.tsx perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
index.en-US.md chore: add Button.shape 'default' definition (#32004) 2021-09-13 15:29:57 +08:00
index.tsx refactor(button): rewrite with hook (#23367) 2020-04-18 13:06:04 +08:00
index.zh-CN.md Update index.zh-CN.md (#32324) 2021-09-28 10:38:37 +08:00
LoadingIcon.tsx chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 (#28253) 2020-12-09 17:12:32 +08:00