yarn swr 0.4.0

latest releases: 2.2.6-beta.4, 2.2.6-beta.3, 2.2.6-beta.1...
3 years ago

Minor Changes

  • Feature: provide config.isPaused indicating idle state and stop revalidation: #845
  • First page of useSWRInfinite should reuse the cache from useSWR: #799

Patches

  • Keep isValidating be true when there are two concurrent requests: #817
  • Fix act: #839
  • Fix: clear refresh timer on effects change and check it on starting new timer: #853
  • Add test for #852: #855

Credits

Huge thanks to @huozhi, @MoonBall, and @promer94 for helping!

Don't miss a new swr release

NewReleases is sending notifications on new releases.