react-hotkeys-hook
event
react-hotkeys-hook | event | |
---|---|---|
3 | 4 | |
2,439 | 25 | |
- | - | |
8.3 | 0.0 | |
7 days ago | about 1 year ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
react-hotkeys-hook
-
Use a hook inside a `forEach` loop?
I am using a hooks library β https://github.com/JohannesKlauss/react-hotkeys-hook/
-
Hotkey Libraries: What's Your Solution?
I faced the same issue. I tried out hotkeys and react-hotkeys-hook, but they didn't fit my needs. I ended up creating a component and placed it high up in the component tree, say HotkeyEvents (to avoid events being attached more than once), that handles all the shortcuts. I used the is-hotkey as a helper for detecting them.
event
-
π My hook-based state management library for React just got Redux DevTools support and a new DEMO page. Check it out!
It's done: https://github.com/bit-about/event/pull/5, tests are greenNew documentation: https://github.com/bit-about/event/tree/feat/simpler-dispatch
- @bit-about/event and @bit-about/state are released! Tiny and 100% idiomatic React libraries for type-safe state management with side-effects (like in Redux-like approaches)
-
Bit-about/event and bit-about/state are released Tiny React idiomatic libs
Hey guys! I've released complementary libraries BitAboutState and BitAboutEvent and I'd like to hear your feedback. I wanted to achieve the feeling that these libraries "should be built into React".
Key features:
100% Typescript with state types deduction
Efficient and hook-based
With extra static access to core functionality (without hook)
No centralized providers (decentralized states and events)
Tiny - max 2.5kB
These libraries force, in my opinion, the cleanest way to design code architecture in React projects.
The libraries are production-ready and this week I introduced them to fresh React-Native commercial projects in my company. We will see them on the battlefield :)
BitAboutEvent: https://github.com/bit-about/event
BitAboutState: https://github.com/bit-about/state
-
@bit-about/event and @bit-about/state are released π Tiny and 100% idiomatic libraries for type-safe state management with side-effects (like in Redux-like approaches)
BitAboutEvent: https://github.com/bit-about/event
What are some alternatives?
react-use-wizard - π§ A React wizard (stepper) builder without the hassle, powered by hooks.
react-native-use-persisted-state - πΎ Simple persisted state in react-native
entangle - Global state management tool for react hooks inspired by RecoilJS and Jotai using proxies.
state - π Tiny and powerful React hook-based state management library.
hotkeys-js - β· A robust Javascript library for capturing keyboard input. It has no dependencies.
createform - The ReactJS form library
use-clamp-text - react hook to clamp multiline text to a given height in a responsive way and with extreme flexibility (under 2.5kb)
usehooks-ts - React hook library, ready to use, written in Typescript.
react-log-hook - React hook for logging per component lifecycle
docs-hotkey - A Chrome extension for easily styling content on Google Docs with hotkeys
use-color - πΌπΌπΌ The powerful color hook that all designers deserve. β¨ Parse and stringify that just works & π¦Ύ Strict type checking at compile time