Skip to content

Fix useKeyStroke string matching - #41

Merged
heyitsarpit merged 1 commit into
mainfrom
fix/use-key-stroke-string-match
Jun 24, 2026
Merged

heyitsarpit merged 1 commit into
mainfrom
fix/use-key-stroke-string-match

Conversation

@heyitsarpit

@heyitsarpit heyitsarpit commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Matches single string keys with exact equality instead of substring matching.
  • Keeps array key matching with includes.
  • Adds regression coverage for string keys, array keys, code: true, and keyup listeners.

Recovered from the bug fix originally proposed by @AlexMenor in #34.

@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-hooks-library Error Error Jun 24, 2026 12:37pm

@heyitsarpit
heyitsarpit merged commit e21ae07 into main Jun 24, 2026
1 of 3 checks passed
@heyitsarpit
heyitsarpit deleted the fix/use-key-stroke-string-match branch June 24, 2026 12:37

This branch had an error being deployed

1 failed deployment
Preview e21d25a0 Deployed Jun 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant