Eric Chen

Results 84 comments of Eric Chen

https://www.npmjs.com/package/string-width

Seen like [U+2714](https://www.compart.com/en/unicode/U+2714) can be emoji, or not. maybe there are more characters like that.

change them like: ```js // packages/hooks/src/useInfiniteScroll/index.ts import { useBoolean, useEventListener, useRequest } from "../index"; ``` Into: ```js // packages/hooks/src/useInfiniteScroll/index.ts import useBoolean from "../useBoolean"; import useEventListener from "../useEventListener"; import useRequest from...

这是一个新加的 hooks 却没有使用 minor 的版本号更新, 会对一部分人造成影响,实测中由于 v3.8.2 新加入的 useTheme() 使用了 window 对象,以往能在 nodejs 环境里跑通的单元测试都失败了

提了一个类似的,早知道写在这了:[为 Cascader/Select/TreeSelect 提供更多一致的API](https://github.com/ant-design/ant-design/issues/54099)

To be honest, I don't fully understand all the codes of `vue-loader`, but this PR can pass basic tests, has been released as `@best-shot/vue-loader`, and has supported multiple projects of...

@helgasoft not work at all...

Add a new option to enable that feature, can avoid breaking change.

This is what i do: ```diff diff --git a/lib/theme/DocRoot/Layout/Main/index.js b/lib/theme/DocRoot/Layout/Main/index.js index aa1b75d0bbe3eb0f18790a42748fc69a9eb9b2a2..1c90610909642fddf9c996342b3bb540dce6bc96 100644 --- a/lib/theme/DocRoot/Layout/Main/index.js +++ b/lib/theme/DocRoot/Layout/Main/index.js @@ -14,13 +14,14 @@ export default function DocRootLayoutMain({hiddenSidebarContainer, children}) { {children} diff --git...