I am using react-native with react-native-navigation. I would like to reload data when a component is shown. The component is shown when a user clicks on a tab navigation button
Override componentWillMount lifecycle method:
https://facebook.github.io/react/docs/component-specs.html#mounting-componentwillmount
Or just put the functionality inside render method