How do I pass ref to a neighbour component

后端 未结 0 577
南笙
南笙 2020-12-03 03:49

I am trying to use ref on a search input in my Header component which ISN\'T a higher order component to my ResultsList component. I want to set focus on the Header\'s searc

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