ConsoleTVs / sswr

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

Add `isValidating` prop #29

Closed albingroen closed 2 years ago

albingroen commented 2 years ago

In order to show whether the application data is loading, or if just something falsy got returned from the API, sswr should probably add a isValidating prop too.

ConsoleTVs commented 2 years ago

isLoading and isValid have been added.