title: React-Native using Components without render
body: <p>I am new to react-native and am trying to build a Map component that relies on a GPS component. (I am actually not even sure if 'component' is the correct word)</p>
  
  <p>I want to render the map using a UI, but I also need the GPS to get the location information.</p>
  
  <p>Now, how can I create a GPS class including all the GPS logic, calling only a single function to update the location on the page page? Or more specifically, how can I separate the GPS code into a new file without having to call a <code>&lt;GPSComponent /&gt;</code> within the render method of the map-component? </p>
  
  <p>To be more specific with the code example, I put it on CodePen here <a href="https://codepen.io/yeni/pen/WOrjJx" rel="nofollow noreferrer">https://codepen.io/yeni/pen/WOrjJx</a></p>