lion/packages/ajax
2020-04-02 16:25:41 +02:00
..
src chore: cleanup todos 2020-02-26 14:32:52 +01:00
stories chore(ajax): update docs 2020-02-26 15:07:26 +01:00
test fix: update storybook/linting; adjust story labels, eslint ignores 2019-04-28 15:02:31 +02:00
CHANGELOG.md chore: release new versions 2020-03-25 16:05:28 +00:00
index.js fix(ajax): add setAjax to public api 2019-04-27 14:29:52 +02:00
package.json chore: move all devDependencies to the root 2020-04-02 16:25:41 +02:00
README.md feat: improved storybook demos 2020-01-13 13:58:03 +01:00

Ajax

ajax is the global manager for handling all ajax requests. It is a promise based system for fetching data, based on axios

Live Demo/Documentation

See our storybook for a live demo and documentation

How to use

Installation

npm i --save @lion/ajax

Example

import { ajax } from '@lion/ajax';

ajax.get('data.json').then(response => console.log(response));