Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Request: replace keyboardjs dependency with keystrokes (updated lib)

Đang mở
#2,510 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

@NextThread đang làm issue này rồi.

Từ ngày 15/8/2023.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
react, typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Start with docs/useKeyboardJs.md and the existing useKeyboardJs hook entry point to understand how keyboardjs is exposed. Check the dependency metadata and the Keystrokes API, then confirm that the peer dependency is replaced and the hook still provides the documented keybinding behavior, or determine whether a generic useKeyCombinations hook is needed.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Is your feature request related to a problem? Please describe.
The more robust keybindings hook has a peer dependency for keyboardjs, but that lib's maintainer has a new package they recommend instead.

Describe the solution you'd like
Drop peer dependency on keyboardjs and move to the new library from the same maintainer: Keystrokes

Describe alternatives you've considered
Or even add a new hook with a more generic name: useKeyCombinations, since the existing hook references the other library directly in the name

Ngôn ngữ chính
TypeScript
Star
44k
Fork
3.3k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của streamich/react-use

Tất cả issue của streamich/react-use

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.