title: React fetch request for local JSON file returns index.html and not the JSON file
body: <p>I am experiencing some unexpected behavior using <code>react</code> and <code>fetch</code>. It should be very straight forward.</p>
  
  <p>My code looks like the following:</p>
  
  <pre><code>import React, { Component } from 'react';
  
  class App extends Component {
  
    componentDidMount() {
      fetch('/dict.json')
      .then(res =&gt; res.json())
      .then(json =&gt; console.log(json))
    }
  
   render() {
      return (
       &lt;p&gt;Example&lt;/p&gt;
     );
    }
  }
  </code></pre>
  
  <p>and my folder structure looks like this</p>
  
  <pre><code>- src
     |_app.js
     |_dict.json
  - index.html
  </code></pre>
  
  <p>When I check the network it is requesting the <code>index.html</code> page which makes no sense to me. Has anyone experienced this before?</p>