title: Is there a way to read network response status codes from the Browser in React?
body: <p>I am making a function call using a private node package that calls an API. This package however does not return a response when the function that makes the API request is called. Thus there is no way of verifying if the HTTP request was successful unless you check the Network tab in the browser's developer tools for the response code.</p>
  <p>I was wondering if anyone had any idea on how to read these status codes in my situation, I found a useful package but it is in React Native, please see here: <a href="https://www.npmjs.com/package/react-native-network-logger" rel="nofollow noreferrer">https://www.npmjs.com/package/react-native-network-logger</a></p>
  <p>Any ideas or package recommendations would be greatly appreciated!</p>