ctrl-keys
ivi
ctrl-keys | ivi | |
---|---|---|
4 | 3 | |
29 | 687 | |
- | - | |
2.9 | 8.6 | |
21 days ago | 7 months 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.
ctrl-keys
- A tiny, super fast, TypeScript library to handle keybindings efficiently
-
`ctrl-keys` a library to handle keybindings efficiently
I have also done some benchmarks to compare it against other similar libraries and it seems to be faster. Please check the benchmarks and let me know if I am doing something wrong.
I ended up creating this library I called ctrl-keys, here is an example of usage:
ivi
-
Unleashing Million.js v2.0.0
ivi, Preact, and more
-
Components are Pure Overhead
And the answer was: it depends. The Virtual DOM library I tested, ivi, had no issues handling more components. But Lit and Svelte were dramatically worse. They scaled back to almost React levels of performance as I broke them down to more components. All their non-VDOM performance benefits basically disappeared.
-
[AskJS] Why are large, sprawling functions more common than small, compact ones?
Some things are just inherently complex. Look at virtual dom reconciliation algorithm, for example. Others simply don't benefit from overly aggressive pursuit of "improvements". Look at database levels of normalization for another example of how one can apply theoretical "best practices" to the wazoo and completely lose sight of pragmatism.
What are some alternatives?
tinykeys - A tiny (~400 B) & modern library for keybindings.
hundred - Build your own mini Million.js
taro-hooks - Hooks Library for Taro
superfine - Absolutely minimal view layer for building web interfaces
w3c-keys - keyboardEvent.key compatible key codes with Typescript Definitions.
import-cost - displays the import size of the package you are importing inside the code editor
pdf-lib - Create and modify PDF documents in any JavaScript environment
Torque3D - MIT Licensed Open Source version of Torque 3D from GarageGames
discordeno - Discord API library for Node and Deno
React - The library for web and native user interfaces.
Svelte - Cybernetically enhanced web apps
voby - A high-performance framework with fine-grained observable-based reactivity for building rich applications.