Using Ref to access a function inside of a functional component. (I am using expo and redux)

前端 未结 0 1133
小鲜肉
小鲜肉 2021-01-23 12:03

When using Ref with a class component you can pass the ref to the child component like so this.modalRef=ref} /> and you can access

相关标签:
回答
  • 消灭零回复
提交回复
热议问题