Our great sponsors
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.
I was asked to implement Event Emitter in an interview. How would you approach it? Link is attached.
Bit-about/event and bit-about/state are released Tiny React idiomatic libs
2 projects | news.ycombinator.com | 13 Apr 2022
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".
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 :)
@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)
2 projects | reddit.com/r/reactjs | 13 Apr 2022
What are some alternatives?
mitt - 🥊 Tiny 200 byte functional event emitter / pubsub.
state - 🚀 Tiny and powerful React hook-based state management library.
react-native-use-persisted-state - 💾 Simple persisted state in react-native
react-use-wizard - 🧙 A React wizard (stepper) builder without the hassle, powered by hooks.
react-hotkeys-hook - React hook for using keyboard shortcuts in components.
use-color - 🛼🛼🛼 The powerful color hook that all designers deserve. ✨ Parse and stringify that just works & 🦾 Strict type checking at compile time
use-clamp-text - react hook to clamp multiline text to a given height in a responsive way and with extreme flexibility (under 2.5kb)