Help implementing a reaction bar (using react-reactions, use-long-press)

This page summarizes the projects mentioned and recommended in the original post on /r/reactjs

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-long-press

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

  • 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.

  • 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
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • ICC seeks arrest warrants against Sinwar and Netanyahu for war crimes

    1 project | news.ycombinator.com | 20 May 2024
  • Nocobase, Notion for creating production-ready apps

    1 project | news.ycombinator.com | 20 May 2024
  • Uncomplicating SVG in Next.js

    1 project | dev.to | 20 May 2024
  • VueJS + Tailwind + DaisyUI = 😎🌷

    2 projects | dev.to | 20 May 2024
  • How We Manage Customer Billing in <500 Lines of Typescript

    3 projects | dev.to | 20 May 2024