docbrown/app/javascript/shared/components
Andrew Bone 58499cefb3
Update shortcut code with best practices (#13026)
* Update with best practices

* Remove useCallback

* Update app/javascript/shared/components/useKeyboardShortcuts.js

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>

* Fill out JSDoc

* Follow Prettier rules

* Resolve conflict

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
2021-03-24 14:03:45 +00:00
..
__tests__ Created the <MediaQuery /> component and useMediaQuery hook. (#12809) 2021-02-25 14:28:44 -05:00
dateTime.jsx Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
focusTrap.jsx improve keyboard accessibility of modals 12427 10610 (#12511) 2021-02-24 16:01:10 +00:00
MediaQuery.jsx Created the <MediaQuery /> component and useMediaQuery hook. (#12809) 2021-02-25 14:28:44 -05:00
tags.jsx Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
useKeyboardShortcuts.js Update shortcut code with best practices (#13026) 2021-03-24 14:03:45 +00:00
useListNavigation.js A11y: Add keyboard navigation to article feed (#10468) 2020-11-10 22:38:15 -05:00
useMediaQuery.js Created the <MediaQuery /> component and useMediaQuery hook. (#12809) 2021-02-25 14:28:44 -05:00