-
Notifications
You must be signed in to change notification settings - Fork 49
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
forceUpdate does not work with axios 0.19 #54
Comments
Tried also bumping axios version in axios-extensions' package.json to 0.19.0. Then 6 tests failed:
Btw had to also add "dom" to typescript libraries to make it run for me:
|
Seems that was a bug/breaking change with axios v0.19.0, see axios/axios#2207 Maybe I should add a comment on README about this before the bug fixed by axios. |
@kuitos catch you! |
axios/axios#2207 is merged. Is the note about 0.19 incompatibility in README.md still relevant? |
The note is point to the exact version |
I understand, thank you. |
I'm using request options to force axios-extensions to update cache entries when needed.
This has been working fine with axios 0.18.0 (and 0.18.1) but when I recently updated to 0.19.0 I noticed that forceUpdate does not have effect anymore. Data is still returned from cache.
package.json:
Code:
For now the resolution was reverting back to 0.18.1 but for going forward it would be good to make axios-extensions to work fully with axios 0.19 too.
The text was updated successfully, but these errors were encountered: