use-scroll-direction VS react-indiana-drag-scroll

Compare use-scroll-direction vs react-indiana-drag-scroll 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)

react-indiana-drag-scroll

React component which implements scrolling via holding the mouse button or touch (by Norserium)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
use-scroll-direction react-indiana-drag-scroll
1 1
30 485
- -
0.0 0.0
over 1 year ago over 1 year ago
TypeScript TypeScript
MIT License GNU General Public License v3.0 or later
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.

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:

react-indiana-drag-scroll

Posts with mentions or reviews of react-indiana-drag-scroll. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-22.
  • I wasted two days jerry-rigging a package when the solution was one search away
    5 projects | dev.to | 22 Mar 2022
    At first, I was going to use react-indiana-drag-scroll to solve the first problem. And it worked. But I had a feeling that there might be a solution that solved both of these problems at the same time. Searching on libhunt, openbase, and duckduckgo, I found out that this problem is actually very old and the term that better fit my problem was "pan and zoom". Searching with this term, I stumbled upon react-pan-and-zoom-hoc, which helped solve my problem, but it was difficult to fidget with because rather than having a simple component, the component spit out the correct x, y axes translation that would need to be worked into the component's CSS. No bueno. I attempted to jerry-rig this package for two days before giving up and switching to react-svg-pan-zoom, which worked pretty much instantly and was exactly what I needed.

What are some alternatives?

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

react-use-wizard - 🧙 A React wizard (stepper) builder without the hassle, powered by hooks.

react-hexgrid - Build interactive hexagon grids with React

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

splide - Splide is a lightweight, flexible and accessible slider/carousel written in TypeScript. No dependencies, no Lighthouse errors.

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

react-pan-and-zoom-hoc

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

react-svg-pan-zoom - :eyes: A React component that adds pan and zoom features to SVG

react-cool-inview - 😎 🖥️ React hook to monitor an element enters or leaves the viewport (or another element).

svelte-gesture - 👇 Bread n butter utility for component-tied mouse/touch gestures in Svelte.

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

React horizontal scrolling menu - Horizontal scrolling menu component for React.