title: how to default trigger click an dynamic anchor tag in reactjs
body: <p>This is the code of my render function:</p>
  
  <pre><code>render: function(){
    var c = $.map(this.state.x, function(){
      return(
        &lt;a href="#" onClick={this.function()}&gt;{x}&lt;/a&gt;`
      )
    })
  
   return(
     &lt;div&gt;{c}&lt;/div&gt;
   )
  }
  </code></pre>
  
  <p>I am here returning dynamically anchor tags from variable.</p>
  
  <p>How can I trigger click my first anchor tag by default ? </p>
  
  <p>(I want my anchor to be clicked after mount)</p>
  
  <p>Thanks in advance </p>