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

Fixes the performance issues in useHotkeys hook. #25

Merged

Conversation

deepakjosp
Copy link
Contributor

@deepakjosp deepakjosp commented Aug 9, 2024

Fixes #24

Description

Checklist

  • I have made corresponding changes to the documentation.
  • I have verified the functionality in a React application.
  • I have added the necessary label (patch/minor/major - If package publish
    is required).

Reviewers

…t to a ref, so that every time the handler is called, latest version will be available in ref object sicne it keeps on mutating the object for every render.
@deepakjosp
Copy link
Contributor Author

@AbhayVAshokan _a please review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix the performance issues in useHotkeys hook.
2 participants