use-long-press

React hook for detecting click (or tap) and hold event (by minwork)

Use-long-press Alternatives

Similar projects and alternatives to use-long-press based on common topics and language

  • alova

    9 use-long-press VS alova

    Request strategy library for MVVM libraries such as Vue.js, React.js and Svelte.js

  • usehooks-ts

    React hook library, ready to use, written in Typescript.

  • 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 logo
  • react-hook-mighty-mouse

    🐭 React hook that tracks mouse events on selected element - zero dependencies

  • rooks

    4 use-long-press VS rooks

    Essential React custom hooks ⚓ to super charge your components!

  • react-table

    🤖 Headless UI for building powerful tables & datagrids for TS/JS - React-Table, Vue-Table, Solid-Table, Svelte-Table

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
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-long-press alternative or higher similarity.

use-long-press reviews and mentions

Posts with mentions or reviews of use-long-press. We have used some of these posts to build our list of alternatives and similar projects.
  • Looking for way to implement long-press on elements with animation
    1 project | /r/reactjs | 17 Dec 2022
    I found a react component that detects a long-press event (https://github.com/minwork/use-long-press) but it only checks start of long-press and then once it is complete. I also saw the Pressable component (https://reactnative.dev/docs/pressable).
  • Help implementing a reaction bar (using react-reactions, use-long-press)
    1 project | /r/reactjs | 31 Oct 2022
    I am using https://github.com/minwork/use-long-press and https://www.npmjs.com/package/@charkour/react-reactions. Along with that, I have piece of code that generates a list of objects. I want to have ReactionBarSelector appear when long-press on a specific item in the list. My first idea was to set a state variable and use that to show/hide. But, it will end up making the reaction bar show up for every item. Can you point me in right direction? I'll also need to put into database what reactions are given for each item, so I need to get the key, but event.target only gives me the specific object that was pressed on. So I am looking for a clue to fix that problem. Thank you.

Stats

Basic use-long-press repo stats
2
119
10.0
about 1 year ago

minwork/use-long-press is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of use-long-press is TypeScript.


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