This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 82
Support for React.createRef() refs passed to innerRef #102
Labels
Comments
Using this new export is the solution https://reactjs.org/docs/forwarding-refs.html |
@FrancescoCioria Could you elaborate on why this was closed? |
@FrancescoCioria I have the same question. Now with hooks this is more salient. |
sorry my mistake, this issue was not supposed to be closed |
Closed
Gave this a shot - contributions welcome! #124 |
Finally we're supporting the new |
I'm still getting this in 7.0.0: #141 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
React has a new way of creating refs; https://reactjs.org/docs/refs-and-the-dom.html
When passing a createRef()'d ref to the innerRef prop, an "innerRef is not a function" error is thrown.
The text was updated successfully, but these errors were encountered: