React Fetching Library Versions Save

Simple and powerful API client for react 👍 Use hooks or FACCs to fetch data in easy way. No dependencies! Just react under the hood.

1.5.15

4 years ago

Fixes

  • remove random background color in documentation
  • add info about responseType property in Action type
  • remove default Content-Type for requests with body of type Blob, ArrayBuffer, FormData

1.5.14

4 years ago

Fixes

  • replace suspense global cache with cache from client - #66

1.5.13

4 years ago

Improvements

  • add default value to createClient - #63

1.5.12

4 years ago

Improvements

  • typings for return value of useMutationHook - #59

1.5.11

4 years ago

Features

  • allow to set query response type in action (it allows to handle file responses etc) #56

1.5.10

4 years ago

Features

  • allow to use custom fetch implementation (added example with axios) #46

1.5.8

4 years ago

Bugfixes

  • query function from useQuery was created on every render

1.5.7

4 years ago

Improvements

  • Handle race conditions in useQuery, useMutation hooks
  • Allow to abort pending requests in useQuery, useMutation hooks

1.5.6

4 years ago

Fixes

  • Closes #48 - fix caching responses when interceptors are used

1.5.5

4 years ago

Improvements

  • Closes #47 - allow to reset state of useQuery and useMutation hooks