GithubHelp home page GithubHelp logo

Comments (6)

xnimorz avatar xnimorz commented on June 2, 2024 2

Okay, So I've reverted recent 9.0.0 changes, and it should be back to normal.

from use-debounce.

xnimorz avatar xnimorz commented on June 2, 2024 1

Hey @malfianrasyidin
I’ll take care of it later today.

I’d advise using 8.0.4 for now.

from use-debounce.

denchen avatar denchen commented on June 2, 2024 1

Thanks @xnimorz . I've verified that everything is working again, both app and tests, at least in my setup.

from use-debounce.

xnimorz avatar xnimorz commented on June 2, 2024

Hey @denchen !

Sorry for the inconvenience. I've just published v9.0.1 it should fix the issue

from use-debounce.

denchen avatar denchen commented on June 2, 2024

Hi @xnimorz ,

So the import problem is fixed, but now I'm getting a new error, again within Jest:

  ● App › should have error state

    TypeError: (0 , _useDebounce.useThrottledCallback) is not a function

      45 |
    > 46 |   const throttledScroll = useThrottledCallback(
         |                                               ^

My actual app works just fine with useThrottledCallback(). It's just failing within the tests.

from use-debounce.

malfianrasyidin avatar malfianrasyidin commented on June 2, 2024

Hey @xnimorz, thanks for the quick fix for the v9.0.1, but it seems it has not resolved the issue of importing the useDebounce as below:

image

It works fine for the v8.0.4, but not the latest major version.

image

Would you mind checking it or advising me, please? Thank you!

from use-debounce.

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.