Where should I create references for DOM elements in Reactjs?

后端 未结 0 1614
梦谈多话
梦谈多话 2021-02-04 16:52
class SearchInput extends React.Component {
  constructor(props) {
    super(props);
    this.searchInputRef = React.createRef(); //          


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