Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Add promise support for browser not supporting it
import es6Promise from 'es6-promise';
es6Promise.polyfill();
import fetch from 'isomorphic-fetch';
// or use axios
import axios from 'axios';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.