lion/packages/ajax
CircleCI 41cd337414 chore: release new versions
- @lion/ajax@0.2.3
2020-01-29 12:02:37 +00:00
..
src fix: update storybook/linting; adjust story labels, eslint ignores 2019-04-28 15:02:31 +02:00
stories fix: update broken ajax storybook link 2020-01-29 13:00:12 +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-01-29 12:02:37 +00:00
index.js fix(ajax): add setAjax to public api 2019-04-27 14:29:52 +02:00
package.json chore: release new versions 2020-01-29 12:02:37 +00: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));