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
Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()? #3988
Comments
I am experiencing the same issue by passing the Button component to the Link component |
Does anyone has updates on this topic? I am experiencing the same issue and it's pretty sad that we can't use a custom functional component inside the Link component. |
I have the same issue experience by passing the Button component to the Link component. I use a Button from |
Should be fixed in version |
Updates on this? TouchableRipple still has the same problem. |
@rollingmoai are you on 5.11.1? If so it might require an additional fix... |
Yes, only the button component is fixed. |
@rollingmoai try v5.11.2 |
Can confirm it now works. Thanks for the quick fix! |
ListItem has not yet been fixed |
@vadolasi Can you try v5.11.6 |
Updates? |
Facing same issues for Box component. IconButton |
Current behaviour
When using a Button, I get the following error.
Expected behaviour
Not have that error?
How to reproduce?
Here's my package.json
Your Environment
The text was updated successfully, but these errors were encountered: