SWR v0.3.1 Release Notes

Release Date: 2020-08-20 // over 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!