Skip to content

Instantly share code, notes, and snippets.

@janbiasi
Created October 19, 2017 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janbiasi/418025135c0f6b3c0c1c438a0fedb2b7 to your computer and use it in GitHub Desktop.
Save janbiasi/418025135c0f6b3c0c1c438a0fedb2b7 to your computer and use it in GitHub Desktop.

Events

  • http:error = Server Errors with code 500
  • http:timeout = Requests which exceeded the max. timeout of 10s

Param Signature

window.__REACT_SHARED_EVENTS__.on('http:error', (code, response, config) => { });
window.__REACT_SHARED_EVENTS__.on('http:timeout', (code, response, config) => { });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment