title: React / Redux with AntDesign focus on component
body: <p>I'm kind stuck on this feature that i have do implement on my app. I need to set focus in a component on componentDidMount() or something similar.</p>
  
  <p>i'm already try some suggestions like:</p>
  
  <pre><code>componentDidMount(){
     this.nameDiv.focus(); 
  }
  
  &lt;div ref={(div) =&gt; { this.nameDiv = div; }}&gt; 
  </code></pre>
  
  <p>for  focus or similar for  (Antdesign component) focus.</p>
  
  <p>or something like that:</p>
  
  <pre><code>document.getElementById("mytext").focus();
  
  &lt;input type="text" id="mytext"/&gt;
  </code></pre>
  
  <p>usualy i'm receiveing errors on my console: "Cannot read property 'focus' of undefined"</p>
  
  <p>So the question: How can i set focus on a react / antDesign component? </p>