Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add useCache option for standard useAxios call #34

Merged
merged 1 commit into from
Oct 12, 2019
Merged

Add useCache option for standard useAxios call #34

merged 1 commit into from
Oct 12, 2019

Conversation

verekia
Copy link
Contributor

@verekia verekia commented Sep 29, 2019

Fixes #33

I tried but I couldn't manage to write a working test for it.

Something like spying on lru-cache get would be nice, but I'm not sure how to spy on it, since it's instantiated in index.js with new LRU().

@verekia verekia changed the title Add useCache option for standard useAxios call. Fix #33 Add useCache option for standard useAxios call Sep 29, 2019
@simoneb simoneb merged commit 87b498d into simoneb:master Oct 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to disable cache
2 participants