Skip to content

Instantly share code, notes, and snippets.

@OleksivO
Created January 16, 2019 20:00
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 OleksivO/9e3128ccd38cbbfe46937a5490a66f8d to your computer and use it in GitHub Desktop.
Save OleksivO/9e3128ccd38cbbfe46937a5490a66f8d to your computer and use it in GitHub Desktop.
the description for this gist
try {
const successResponse = yield fetch('url');
const parsedResponse = yield successResponse.json();
console.log(successResponse);
} catch(error) {
console.log(error)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment