title: Make LI element auto focus in react
body: <p>How to add autofocus property in LI element in react? I've used through ref but is not working. </p>
  
  <pre><code>render() {
    return (
      &lt;div&gt;
        &lt;li ref={(re) =&gt; re.focus()}&gt;aaa&lt;/li&gt;
      &lt;/div&gt;
    )
  }
  </code></pre>