Use-event-listener Alternatives
Similar projects and alternatives to use-event-listener based on common topics and language
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
use-persisted-state
A custom React Hook that provides a multi-instance, multi-tab/browser shared and persistent state.
-
react-custom-hooks
React Custom Hooks @ S.Leschev: useArray useAsync useClickOutside useCookie useCopyToClipboard useDarkMode useDebounce useDebugInformation useDeepCompareEffect useEffectOnce useEventListener useFetch useGeolocation useHover useLongPress useMediaQuery useOnlineStatus useOnScreen usePrevious useRenderCount useScript etc. (by sergeyleschev)
use-event-listener reviews and mentions
-
How to Listen to Events in ReactJS
Instead of pressing these toolbar buttons, I'd like to use a keyboard shortcut to switch between the pointer mode and the drag mode. Copying Figma's button shortcuts, specifically, I would like to bind the v button and the h button keyboard keys to the pointer mode and drag mode, respectively. This functionality was achieved thanks to the use-event-listener hook. Fortunately, the React hook is simple enough to use as brief case study into how event listeners work.
Stats
donavon/use-event-listener is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of use-event-listener is JavaScript.
Popular Comparisons
Sponsored