ConsoleTVs / sswr

🔥 Svelte stale while revalidate (SWR) data fetching strategy
MIT License
234 stars 11 forks source link

SSWR no longer updating with longer `dedupingInterval` #50

Open marekdedic opened 6 months ago

marekdedic commented 6 months ago

Hi, I recently tried updating SSWR from 1.10.0 to 2.1.0 and with the update, I encountered the following issue:

I have set a fairly large deduping interval. However, after the update, when I fetch some data with sswr, I first get the initial undefined, but I don't get the actual data when they are subsequently fetched. So I cannot use a larger deduping interval, because that basically means I don't actually get the data...