-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
useImperativeMethods error with react@16.8.1 & react-spring@7.2.10 #513
Comments
hey gorka! yep, its an outdated react-spring in there. the api is outdated, too. here's an updated version: https://codesandbox.io/s/8zx4ppk01l |
Hello @drcmda , |
React had some breaking changes in the hooks release, useState works differently and useImperativeHandle is new. That makes it hard to backport unfortunately. These things only affect the hooks api, the normal 7.x main export should work fine in react 16.8.x |
Having the same issue here. |
@drcmda thanks for the clarification! I'll have to update all usage of |
is this for aragon? it uses the renderprops api so there shouldn't be a problem, we could hang out on jitsi if its pressing |
wow, that looks really cool! let me know if you need help with something! |
Getting an error:
(0 , _react.useImperativeMethods) is not a function
https://codesandbox.io/s/x9pkx031ro
Any idea? Thanks
The text was updated successfully, but these errors were encountered: