ant-design/site/theme/template
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
..
Color chore: fix color picker position 2020-11-06 12:11:47 +08:00
Components chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
Content docs: update demo template (#35440) 2022-05-09 16:23:07 +08:00
Home chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
Icon perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
IconDisplay chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
Layout chore: optimze LGTM (#35443) 2022-05-09 20:48:12 +08:00
Resources docs: site build script update (#32984) 2021-11-23 18:57:59 +08:00
AppShell.jsx chore: add prettier-plugin-jsdoc (#28551) 2020-12-28 15:30:18 +08:00
BrowserFrame.jsx fix: lint:es 2019-08-06 15:31:59 +08:00
NotFound.tsx docs: add direction & theme to url (#26567) 2020-09-14 10:48:08 +08:00
utils.tsx chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 (#32824) 2021-11-26 12:18:21 +08:00