Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Request: replace keyboardjs dependency with keystrokes (updated lib)

Aperta
#2,510 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

@NextThread ci sta già lavorando.

Dal 15/8/2023.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
44k
Fork
3.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di streamich/react-use

Tutte le issue di streamich/react-use

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.