react-cool-inview VS use-scroll-direction

Compare react-cool-inview vs use-scroll-direction and see what are their differences.

use-scroll-direction

A simple, performant, and cross-browser hook for detecting scroll direction in your next react app. (by AndrzejSala)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
react-cool-inview use-scroll-direction
1 1
1,461 30
- -
3.9 0.0
9 months ago over 1 year ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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-cool-inview

Posts with mentions or reviews of react-cool-inview. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-27.
  • React Hooks for infinite scroll: An advanced tutorial
    2 projects | dev.to | 27 Sep 2021
    As the purpose of this article is infinite loading, we’re not going to go into the implementation details of the Intersection Observer API, and instead use an existing React Hook that provides that functionality for us, react-cool-inview.

use-scroll-direction

Posts with mentions or reviews of use-scroll-direction. We have used some of these posts to build our list of alternatives and similar projects.
  • use-scroll-direction: A hook for simple detecting of scroll direction
    1 project | /r/reactjs | 24 Dec 2021
    use-scroll-direction https://github.com/AndrzejSala/use-scroll-direction As frontend devs, very often, we come to moment when we need to show/hide something on scroll, eg. topbar or some infobox. Based on the API provided by a browser it's not an easy task, we need to make some computation, store somewhere the previous direction and be sure that everything works correctly vast of browsers. To make our lives a little bit easier, at least for react devs, I created use-scroll-direction, a simple, though very performant hook for detecting scroll direction. Here are some key points:

What are some alternatives?

When comparing react-cool-inview and use-scroll-direction you can also consider the following projects:

react-cool-virtual - 😎 ♻️ A tiny React hook for rendering large datasets like a breeze.

react-use-wizard - πŸ§™ A React wizard (stepper) builder without the hassle, powered by hooks.

react-intersection-observer - React implementation of the Intersection Observer API to tell you when an element enters or leaves the viewport.

react-awesome-reveal - React components to add reveal animations using the Intersection Observer API and CSS Animations.

react-indiana-drag-scroll - React component which implements scrolling via holding the mouse button or touch

svelte-inview - A Svelte action that monitors an element enters or leaves the viewport.πŸ”₯

react-keyboard-navigator - A suite of React components and hook for selecting sibling components through the keyboard.

use-local-storage-state - React hook that persists data in localStorage

use-scroll-position - Use scroll position ReactJS hook done right

animate-css-grid - Painless transitions for CSS Grid

react-winbox - The newest React component for WinBox.js. A window manager for React.