I\'m testing that my express server is running in React Native by calling a simple helper function in my component.
This is the helper function:
//Helpe
That's because you invoked it immediately in the template.
Replace
<Button title="Test Fetch" onPress={this.testFetch('Here I am')} />
To
<Button title="Test Fetch" onPress={() => this.testFetch('Here I am')} />
Read more about it here https://reactjs.org/docs/faq-functions.html