Skip to content

not working with react 18.2.0: Cannot read properties of undefined (reading 'stop') #70

@lsimone

Description

@lsimone

Describe the bug

I experienced the issue on my codebase and I thought it was related with my code, but I reproduced the same error here:

I am reproducing exactly the same sample of reactivue README.

  • Expected result: no error thrown by reactivue lib and sample working correctly
  • Actual result: error Cannot read properties of undefined (reading 'stop') thrown by reactivue and "increase" button triggers the callback but we have no effects (counter value is still shown in DOM as 0)

image

Reproduction

https://codesandbox.io/s/xenodochial-cookies-zzt8j2?file=/src/App.js

System Info

Not necessary

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions