github vercel/swr 0.3.1

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

Patches

  • Add useDebugValue to show the data label in the React DevTools: #578
  • Fix problem of unnecessary revalidates when resolved data is falsy: #524
  • Added example for SWR Request De-duplication feature: #519
  • Fix: eventsRef should trigger the lastest version of config callbacks: #521
  • Fix useSWRInfinite response type: #584
  • Fix: 'revalidateOnFocus' and 'revalidateOnReconnect' shoule be statful: #583
  • Swr.vercel.app: #605
  • Fix: do not rerender if data unchanged: #464

Credits

Huge thanks to @Kexin-Li, @mha15, @tanmaylaud, @lintuming, @lynxtaa, @promer94, @thomaswang, and @morgs32 for helping!

Don't miss a new swr release

NewReleases is sending notifications on new releases.