title: Fetch API cannot load webpack://... error
body: <p>I am trying to learn some new tricks with Apollo Client and GraphQL but I have run into an error that I can't figure out what is causing it. The stack I am using is GraphQL and ApolloClient. The error is </p>
  
  <p><code>Fetch API cannot load webpack://%5Bname%5D_%5Bchunkhash%5D/./node_modules/react-dom/cjs/react-dom.development.js?. URL scheme must be "http" or "https" for CORS request.</code></p>
  
  <p>I checked my CORS setup and I can make other queries with no problem. The error appears with this specific query:</p>
  
  <pre><code>query SINGLE_STORE_QUERY($id: ID!) {
      store(where: { id: $id }) {
        id
        name
        description
        image
        address
        lat
        lng
        reviews {
          user {
            name
          }
          text
          rating
        }
      }
    }
  </code></pre>
  
  <p>My Apollo Query in the NextJS component is: </p>
  
  <pre><code>    &lt;Query
          query={SINGLE_STORE_QUERY}
          variables={{ id: this.props.id }}
          errorPolicy="all"
        &gt;
          {({ data: { store }, error, loading }) =&gt; {
            if (error) return &lt;Error error={error} /&gt;;
            if (loading) return &lt;p&gt;Loading...&lt;/p&gt;;
  
            console.log(store);
            return (
              &lt;div&gt;
                &lt;StoreHero&gt;
                  &lt;SingleTitle&gt;{store.name}&lt;/SingleTitle&gt;
                &lt;/StoreHero&gt;
  
                &lt;Container&gt;
                  &lt;p className="location"&gt;{store.address}&lt;/p&gt;
                  &lt;p className="description"&gt;{store.description}&lt;/p&gt;
                  {store.reviews.map((review, ind) =&gt; (
                    &lt;Review review={review} key={ind} /&gt;
                  ))}
                  &lt;ReviewForm id={this.props.id} /&gt;
                &lt;/Container&gt;
              &lt;/div&gt;
            );
          }}
        &lt;/Query&gt;
  </code></pre>
  
  <p>The interesting thing is that when I remove the <code>reviews</code> from the query I don't get the error. However, in the GraphQL playground it works fine, so I know the data is there. Also, if I refresh the page, it loads properly. It is only on the first load of the page that it errors out.</p>
  
  <p>Can anyone point me in the right direction for how to better structure this query? I know I am close, but I am missing something minor. Thanks!</p>