0.3.1
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!