3.0.14 • Published 7 years ago

retrievejs v3.0.14

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

retrievejs

A package for retrieving data in a nicely interpretive way.

quick usage

define your endpoints and create your api in /api.js per example

const endpoints = {
    getMockData: { path: 'http://www.mocky.io/v2/5aaa749a3300005d202da965', method: GET },
};

export const api = createApi(endpoints);

query an endpoint

api.getMockData()
  .then(response => { /*..*/ })
  .catch(error => { /*..*/ }); 

the gist

I got frustrated with constantly repeating myself during my exams so I made this package. Undoubtably there's better ones out there but this one works for me and fits to what I need.

API

todos

  • Redux integration
  • Redux storage format documentation
3.0.14

7 years ago

3.0.13

7 years ago

3.0.12

7 years ago

3.0.11

7 years ago

3.0.10

7 years ago

3.0.9

7 years ago

3.0.8

7 years ago

3.0.7

7 years ago

3.0.6

7 years ago

3.0.4

7 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

2.1.3

7 years ago

2.1.1

7 years ago

2.0.0

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago