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

优化:实现一个轻量的 debounce,替换掉 3kb 大小的 lodash/debounce #4

Closed
liujinxing opened this issue Oct 21, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request
Projects

Comments

@liujinxing
Copy link
Contributor

优化:TabHeader 使用了 lodash/debounce,用来做防抖。但是它有 3kb 大小。需要找一个稳定的、但是又非常小的 debounce 实现,放到 @sinoui/utils 中。

- import debounce from 'lodash/debounce';
+ import debounce from '@sinoui/utils/debounce';
@liujinxing liujinxing added the enhancement New feature or request label Oct 21, 2019
@liujinxing liujinxing added this to To do in 1.0.0 Oct 21, 2019
@liujinxing
Copy link
Contributor Author

@tianyanqiu tianyanqiu moved this from To do to Done in 1.0.0 Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
1.0.0
  
Done
Development

No branches or pull requests

2 participants