use-onclickoutside
react-use-lazy-load-image
use-onclickoutside | react-use-lazy-load-image | |
---|---|---|
1 | 2 | |
497 | 14 | |
- | - | |
2.4 | 0.0 | |
5 months ago | over 1 year ago | |
TypeScript | JavaScript | |
- | 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.
use-onclickoutside
-
5 Awesome React Hooks ⚛️
I think that useOnClickOutside is one of the bests, with this hook, you can easily capture outside clicks from an element, very useful for a modal for example. Here is a demo code:
react-use-lazy-load-image
-
5 Awesome React Hooks ⚛️
React use lazy load image uses the Intersection Observer API to provide a performant solution to lazy loading images, it a super lightweight so won't add any extra bulk to your app, and its very simple to use:
-
What are your favorite custom hooks?
useLazyLoadImage
What are some alternatives?
use-local-storage-state - React hook that persists data in localStorage
react-in-viewport - Detect if React component is in viewport
react-intersection-observer - React implementation of the Intersection Observer API to tell you when an element enters or leaves the viewport.
react-script-hook - React hook to dynamically load an external script and know when its loaded
useRedux - Hook to connect redux store to react components
react-hookedup - :alien: A collection of useful React hooks
usehooks-ts - React hook library, ready to use, written in Typescript.
use-autocomplete - React use-autocomplete hook for autocomplete components
react-aptor - Make Forward compatible React packages🔮
use-overflow - A React Hook that allows you to detect X and Y overflow
react-screentype-hook - React hook to get screen type(mobile, tablet, desktop, largeDesktop)
use-hotkeys - ➷ Hotkeys React Hook