Skip to content

Version 1.0

Compare
Choose a tag to compare
@alex-cory alex-cory released this 14 Apr 20:06
· 99 commits to master since this release
35d99b1

Finally Version 1.0

Lots of upgrades in this version. This new major release is v1.0.2 on npm.

Updates

  1. Retry Functionality. retries, retryDelay, and retryOn
  2. Suspense(experimental) Support. suspense
  3. Persistent Caching. persist
  4. Added cache to return of useFetch for better cache debugging and to clear the cache for instance when a user signs out.
  5. Fixed infinite loop/extra rendering issues when passing useFetch variables to useEffect dependencies #228 #185
  6. Fixed response interceptor not firing when results loaded from cache #235
  7. Can now have [] and '' as body of http request. Caveat, if posting a string as the body, must have a route post('/', 'your body')
  8. Added async support for interceptors.response #214
  9. Remove content-type: application/json when posting formData #213
  10. Promise.all fixes #211
  11. Fixed cannot perform update on unmounted component bug #207
  12. Should now work in TypeScript apps made using parcel #202
  13. Lot's of videos added!