Version 1.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
cacheto return ofuseFetchfor 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 #228 #185
- Fixed
response interceptornot firing when results loaded from cache #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
asyncsupport forinterceptors.response#214 - Remove
content-type: application/jsonwhen posting formData #213 - Promise.all fixes #211
- Fixed
cannot perform update on unmounted componentbug #207 - Should now work in TypeScript apps made using parcel #202
- Lot's of videos added!