antfu/reactivue

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

Opened this issue · 2 comments

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.

exactly the same behavior for me

so any solution? is there any matainers?