forwardRef
error when dynamically importing a module
#16309
Unanswered
matiastucci
asked this question in
Help
Replies: 4 comments 2 replies
-
I'm still trying to fix this. Any ideas? |
Beta Was this translation helpful? Give feedback.
0 replies
-
hey can you try this for me:
It MIGHT work if you set ref as a function. I had a similar problem and this change worked for me. If it works can you let me know :) |
Beta Was this translation helpful? Give feedback.
1 reply
-
I'm hitting the same issue |
Beta Was this translation helpful? Give feedback.
1 reply
-
getting the same error |
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.
-
I'm trying to use
forwardRef
on an external component butref.current
is not the actualref
. Not sure if I'm missing something.I'm doing:
Full code: https://codesandbox.io/s/objective-benz-qh4ec?file=/pages/index.js:63-73
More info: #4957
Beta Was this translation helpful? Give feedback.
All reactions