Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2020-04-14 | 2.6 kB | |
Version 1.0 source code.tar.gz | 2020-04-14 | 4.9 MB | |
Version 1.0 source code.zip | 2020-04-14 | 5.0 MB | |
Totals: 3 Items | 9.9 MB | 0 |
Finally Version 1.0
Lots of upgrades in this version. This new major release is v1.0.2
on npm.
Updates
- Retry Functionality.
retries
,retryDelay
, andretryOn
- Suspense(experimental) Support.
suspense
- Persistent Caching.
persist
- Added
cache
to return ofuseFetch
for better cache debugging and to clear the cache for instance when a user signs out. - Fixed infinite loop/extra rendering issues when passing useFetch variables to useEffect dependencies https://github.com/ava/use-http/issues/228 https://github.com/ava/use-http/issues/185
- Fixed
response interceptor
not firing when results loaded from cache https://github.com/ava/use-http/issues/235 - Can now have
[]
and''
as body of http request. Caveat, if posting a string as the body, must have a routepost('/', 'your body')
- Added
async
support forinterceptors.response
https://github.com/ava/use-http/issues/214 - Remove
content-type: application/json
when posting formData https://github.com/ava/use-http/issues/213 - Promise.all fixes https://github.com/ava/use-http/issues/211
- Fixed
cannot perform update on unmounted component
bug https://github.com/ava/use-http/issues/207 - Should now work in TypeScript apps made using parcel https://github.com/ava/use-http/issues/202
- Lot's of videos added!