Skip to content

Instantly share code, notes, and snippets.

@brybrophy
Last active October 26, 2017 20:03
Show Gist options
  • Save brybrophy/4642a3aa1c7ff1e83ac1440dfa502390 to your computer and use it in GitHub Desktop.
Save brybrophy/4642a3aa1c7ff1e83ac1440dfa502390 to your computer and use it in GitHub Desktop.
import ApiCore from 'axios-core-api';
class BaseApi {
constructor(apiCore) {
this._apiCore = apiCore;
}
}
const apiCore = new ApiCore();
const baseApi = new BaseApi(apiCore);
export default baseApi;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment