use-scroll-direction

A simple, performant, and cross-browser hook for detecting scroll direction in your next react app. (by AndrzejSala)

Use-scroll-direction Alternatives

Similar projects and alternatives to use-scroll-direction

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better use-scroll-direction alternative or higher similarity.

use-scroll-direction reviews and mentions

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:

Stats

Basic use-scroll-direction repo stats
1
30
0.0
over 1 year ago

Sponsored
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