Giter Site home page Giter Site logo

Demo wont run locally about use-gesture HOT 3 CLOSED

pmndrs avatar pmndrs commented on May 22, 2024
Demo wont run locally

from use-gesture.

Comments (3)

rhulse avatar rhulse commented on May 22, 2024 2

I've found the issue, as one often does after writing it down. ;-)

I did not check the version of react-use-gesture, and upon looking at the change log I spied breaking changes, and I have now got this fixed. The fix (for anyone else looking) is to simply to replace delta: [xDelta] with movement: [xDelta], and put the block into onDrag.

from use-gesture.

dbismut avatar dbismut commented on May 22, 2024

Indeed I need to work with @aleclarson and @drcmda to use the same sandboxed demos for react-spring and react-use-gesture (mine are up to date, just sayin’ πŸ™‰)

from use-gesture.

rhulse avatar rhulse commented on May 22, 2024

@dbismut No worries - I needed a 'bug' to help me get a better understanding of how to use the library anyway. 😺 This stuff is fantastic, team!

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.