How can you find the ReactDOM root from inside the render tree?

前端 未结 0 2031
我寻月下人不归
我寻月下人不归 2021-01-03 17:09

findDOMNode can be used to find the DOM node of a given Component, but I\'m not sure how to traverse the tree to find the same node that was passed initially to

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