title: Sending location data every minute or so, any solution?
body: <p>I am trying to send location data to my express backend within 30 minute spaces.</p>
  <pre><code>try {
      setInterval(async () =&gt; {
        getLocationData();
      }, 180000);
    } catch (e) {
      console.log(e);
  }
  </code></pre>
  <p>This is the code that I use to fetch data about location to send back to the server. I get warnings when I run this code that I shouldn't try to fetch data like this. How should I go about sending location data to the backend.</p>
  <p>(I know that 180000 is not half an hour)</p>