Question: i'm not searching to do something complicated , i just want to retrieve certain titles from a website , the first button was just for a test ... The thing is , even the "lala" text isn't showing up which means it doesn't enter in the loop in the first place ...

```
Public Class Form1
    Function ElementsByClass(document As HtmlDocument, classname As String)
        Dim coll As New Collection
        For Each elem As HtmlElement In document.All
            If elem.GetAttribute("appcenter").ToLower.Split(" ").Contains(classname.ToLower) Then
                coll.Add(elem)
            End If
        Next
        Return coll
    End Function
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim wb As New System.Net.WebClient
        wb.Headers.Add("user-agent", "Only a test!")
        Dim sourceString As String = wb.DownloadString("http://www.ign.com/games/upcoming")
        RichTextBox1.Text = sourceString
    End Sub

    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
        Dim elementss As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("div")
        For Each pElem As HtmlElement In elementss
            If pElem.GetAttribute("class") = "item-title" Then
                RichTextBox1.Text = "lala"
                RichTextBox1.Text = pElem.InnerHtml
            End If
        Next
    End Sub
End Class

```

Answer: 
You are giving to onTouchTap void, because that's what this.doSomething(id) returns . 

```
this.doSomething(id) 

```

is executed the firs time MyOwnComponent is rendered. 

Instead you should do this : 

```
class MyOwnComponent extends Component {
  doSomething = () => {
    const {id}  = this.props.object;
    alert('doSomething: id = ' + id )
  }

  render() {
    return (
      <RaisedButton secondary={true} label={'My label'} onTouchTap={this.doSomething}/>
    )
  }
}

```
I tried your sollution. However when I use onTouchTap={() => this.doSomething(id)} the page wont load because the browser says JSX props should not use arrow functions.

And the id is from the props. At the top of the render method I say 

```
const { id } = this.props.object

```