nationskollen/sdk

Add option to pass in SWR configuration in fetcher hooks

Opened this issue · 0 comments

All fetcher hooks have a predefined SWR configuration that configures the revalidation process. In some cases, we need to override these settings. One example of this would be in the admin interface where we do not want to re-fetch data at regular intervals (or at least not as often as the end-users).