title: Do React Native proxys work differently to vanila react proxys?
body: <p>I'm trying to fetch data from a API running locally on port 5000 my device. From working on React web apps I'm used to setting the proxy in package.json like this:</p>
  <pre><code>&quot;proxy&quot;: &quot;https://localhost:5000&quot;
  </code></pre>
  <p>Now I try to fetch something from the API like this:</p>
  <pre><code>fetch(&quot;/colours&quot;, {
              method: &quot;GET&quot;,
              headers: {
                  &quot;Content-Type&quot;: &quot;application/json;charset=utf-8&quot;,
              }
          })...
  </code></pre>
  <p>Sadly if I now run my application on my browser it still says that it sends the request to <code>http://localhost:19006/colours</code>. The responds contains HTML for a reload button.</p>
  <p>I also checked on my APIs console, no request ever arrives there. I have tried the usual tricks of deleting <code>package-lock.json</code> and <code>node_modules</code> and installing again.</p>
  <p>Is my approach to API requests fundamentally wrong for React Native?</p>