Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()? #271
Unanswered
MartensCedric
asked this question in
Q&A
Replies: 1 comment
-
if you want to render a functional component it should look more like this
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I might be doing something wrong but I cannot get this library to work
The code used:
I'm getting this error:
This is the tutorial so I'm a bit confused on why I am getting this problem
Beta Was this translation helpful? Give feedback.
All reactions