github vercel/swr 0.3.0

latest releases: v2.2.6-beta.4, v2.2.6-beta.3, v2.2.6-beta.2...
4 years ago

Minor Changes

  • New infinite loading API: #435
  • Add microbundle: #487
  • Add persistSize option to useSWRInfinite: #490
  • Revert "add microbundle " (#492): #487
  • Enhance: remove mutate calls from cache: #493
  • Fix page size persistence when remounting: #495
  • Don't retry on error if errorRetryCount is set to 0: #506
  • Fix: check if mounted when trigger rerender: #510
  • Export interfaces used by useSWRInfinite: #511
  • Fix typescript warning: #530
  • Fix: should throw when mutate failed: #557
  • Enhance: fallback to setTimeout when request idle callback is not available: #473
  • Enhance: move online listeners to config (#476): #474

Patches

  • Change name to Vercel: #467
  • Update keyErr on the cache when mutating: #480
  • Test: add test case for error updating in cache when mutate: #481
  • Updated the readme: #513
  • Update link: #516
  • Remove unused command: #544
  • Bump lodash from 4.17.15 to 4.17.19: #531

Credits

Huge thanks to @huozhi, @dominictwlee, @lolPants, @moecasts, @markozxuu, @cristianbgp, @ashfaqnisar, @matamatanot, and @Kexin-Li for helping!

Don't miss a new swr release

NewReleases is sending notifications on new releases.