二哲
二哲
``` js this.tapTimeout = setTimeout(function () { self.tap(evt); // trigger double tap immediately if (self.isDoubleTap) { self.doubleTap(evt); clearTimeout(self.touchTimeout); self.isDoubleTap = false; }else{ self.touchTimeout=setTimeout(function(){ self.singleTap(evt); },250); } }, 0) ``` 看了源码一个是马上触发,一个要250,有啥用?为什么不统一就用一种?
## 公司名称 厦门铃盛软件有限公司 ## 工作地点 厦门 ## 薪资范围 15K~25K ## 岗位级别 初级/中级/资深/tech leader ## 工作职责 • 了解业务需求并将其转化为技术实践 • 构建可复用的组件和前端库,推进公司前端基础设施建设 • 协作解决问题,设计优先,提供高质量的代码 • 优化组件,探索 Web 和后台、客户端相结合的最佳实践方案,持续优化性能 • 参与新技术探索、推进系统架构的演化 • 有能力指导他人并进行代码审核,与团队成员分享经验和新技术,帮助团队成长 ##...
**Describe the bug** I want to dynamic create GlobalHotKeys component and handler key event **How are you using react hotkeys components? (HotKeys, GlobalHotKeys, IgnoreKeys etc)** GlobalHotKeys **Expected behavior** the down...
123