title: Why isn't my function reaching this point?
body: <p>I've been stuck for an hour trying to figure this out. I have a function that now looks like</p>
  
  <pre><code>myfunction()
  {
      console.log("myfunction called");//TEST
      Axios.post('someurl/' + id)
          .then(response =&gt;
          {
              console.log("We're in the .then ...");//TEST
              onGoodRequest(response.data, response);
          })
          .catch(response =&gt;
          {
              console.log("We're in the .catch ...");//TEST
              this.setState({ curUploadState: uploadStates.SHOWSTOPPER });
          });
      console.log("We're here now ...");//TEST
  }
  </code></pre>
  
  <p>which I call inside my React component and for some reason it's getting stuck. There are no JavaScript errors in the console and the only thing I see is</p>
  
  <pre><code>myfunction called
  </code></pre>
  
  <p>So what could possibly be going on? I even did </p>
  
  <pre><code>    var x = Axios.post('someurl/' + id)
                  .then(response =&gt;
                  {
                      console.log("We're in the .then ...");
                      onGoodRequest(response.data, response);
                  })
                  .catch(response =&gt;
                  {
                      console.log("We're in the .catch ...");
                      this.setState({ curUploadState: uploadStates.SHOWSTOPPER });
                  });
      console.log(x);
      console.log("We're here now ...");
  </code></pre>
  
  <p>and nothing logged.</p>