-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[v9] Uncaught (in promise) TypeError: Cannot read property 'asyncId' of undefined #955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can find the latest canary here:
That should fix your issue. LMK if it doesn't. 👍 |
I did try that one, and also tried beta-34. I'll give it another shot with the one you mentioned and report back! 🤞 |
Same issue @aleclarson:
|
Lovely. I can get this fixed before the next canary. Do you have a minimal reproducible build? |
❤️ Let me try to put one together for you. Thanks for all the help. edit: can't reproduce from blank CRA template. Going to attempt to strip down our codebase enough to reproduce it. |
@aleclarson here's a repro: https://github.com/brotzky/react-spring-repro-issue-955 |
Just tested your repro on the latest code. Should be fixed in |
Wow, amazing!! thanks so much @aleclarson. No rush -- take your time. |
Now available in v9.0.0-rc.2 #985 |
Whenever my
useTransition
hook usesasync await next
it throws an error ofUsing Yarn Workspaces with react-spring version:
"react-spring": "9.0.0-canary.809.5.f01ecc2",
This is my code, based off https://github.com/react-spring/react-spring-examples/blob/pull-750/demos/hooks/notification-hub/index.js
Changing the transition to
resolves the issue but I don't get access to the ref/dynamic height of the element within the transition.
Any ideas if this is a react spring issue or somewhere else? The transition worked in v8. I upgraded because I wanted to be able properly get access to the updated state within item (#949).
could be related to: #920
The text was updated successfully, but these errors were encountered: