Coder Social home page Coder Social logo

React Native support about use-gesture HOT 10 OPEN

pmndrs avatar pmndrs commented on July 23, 2024 40
React Native support

from use-gesture.

Comments (10)

danieloi avatar danieloi commented on July 23, 2024 4

Looking at the react-native-gesture-handler docs and examples and it's sooo much more complex than this library for simple use cases.
React Native support would be welcome regardless of the work being done on react-native-gesutres even as an abstraction over it. The API for this library is just superior.

from use-gesture.

jcarraway avatar jcarraway commented on July 23, 2024 3

Reach out to the author of react-native-gesture-handler

It looks like they are working on web support for react-native-gesture-handler here: Web Support #555

from use-gesture.

ziyoshams avatar ziyoshams commented on July 23, 2024 1

Reach out to the author of react-native-gesture-handler

from use-gesture.

drcmda avatar drcmda commented on July 23, 2024

Would you send in a PR for this? The code is small and It's just a bunch of events so it should be relatively straight forward to extend. I don't use RN so much that i know it.

from use-gesture.

daryl avatar daryl commented on July 23, 2024

Need this also.

from use-gesture.

drcmda avatar drcmda commented on July 23, 2024

problem is that i don't work with RN personally atm, i just don't know the api.

from use-gesture.

drcmda avatar drcmda commented on July 23, 2024

@brunolemos @daryl so this will soon happen, i will make it work with react-three-fiber so it has to be made cross platform, which then includes react-native. do you have any ideas how we can pull this off? i guess it needs to know some platform specifics, and the platform has to support start/move/end semantics.

from use-gesture.

brunolemos avatar brunolemos commented on July 23, 2024

I don't have experience with gestures but you'll probably need to use this api: https://facebook.github.io/react-native/docs/panresponder

from use-gesture.

noeljackson avatar noeljackson commented on July 23, 2024

Using a View, without using a ref, you can use {...bind()} or similar, for now, and it works with https://github.com/necolas/react-native-web

from use-gesture.

dbismut avatar dbismut commented on July 23, 2024

@danieloi That's always good to hear! Unfortunately I have zero knowledge about React Native, maybe @thephoenixofthevoid can help?

from use-gesture.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.