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!