Hi Michael.
Is this a question? a post or a #devjournal?
Hi, Sung M. Thanks for your reply. Yes, it is a question, To be honest I am a beginner. So If you can guide for me, it will be great pleasure.
The callback refs is what you've used to get the AUserList's ref.
AUserList
In that case you don't access the ref with .current like this.list.current but as this.list.
.current
this.list.current
this.list
You also don't create this.list with React.createRef() with callback ref.
React.createRef()
Can you provide a minimal runnable sample with CodeSandbox.io or Stackblitz if it still doesn't work?
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Michael.
Is this a question? a post or a #devjournal?
Hi, Sung M.
Thanks for your reply.
Yes, it is a question,
To be honest I am a beginner.
So If you can guide for me, it will be great pleasure.
The callback refs is what you've used to get the
AUserList
's ref.In that case you don't access the ref with
.current
likethis.list.current
but asthis.list
.You also don't create
this.list
withReact.createRef()
with callback ref.Can you provide a minimal runnable sample with CodeSandbox.io or Stackblitz if it still doesn't work?