5 Commits

Author SHA1 Message Date
Simone Busoli
b8f504a1e8 feat(199): add ability to disable cache
This feature introduces the ability to disable caching
entirely when using `configure` or `makeUseAxios`,
by setting the `cache` option to false:

```
// with configure
configure({ cache: false })

// with makeUseAxios
const useAxios = makeUseAxios({ cache: false })
```

fixes #199
2020-04-11 12:59:07 +02:00
Simone Busoli
2b0e9a58ed feat: support multiple instances of useAxios configured independently
See README for details about how to use the feature: https://github.com/simoneb/axios-hooks/#multiple-hook-instances

fix #98
2019-11-30 22:48:26 +01:00
Simone Busoli
4a63b6eab9 fix: use StaticAxios for cancellation as AxiosInstance doesn't expose it
fix #80
2019-11-13 21:12:45 +01:00
Simone Busoli
307c7c1565 fix: do not dispatch state updates when requests are cancelled
fix #74
2019-11-10 18:01:00 +01:00
Simone Busoli
5ba0187199 test: move test files to own folder 2019-11-10 16:01:10 +01:00