You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running in a situation where it would be extremely useful to use debouncing for initial gets but once mutate is called id like to override the debounce with forceRevalidate: true
Any thoughts?
The text was updated successfully, but these errors were encountered:
@SanderCokart You could declare one ref, use a debounced watcher function to set a "debounced" ref, and pass that into useSWRV. Then, when you want to update immediately, you could set the debounced ref directly, bypassing the debounce.
I am running in a situation where it would be extremely useful to use debouncing for initial gets but once mutate is called id like to override the debounce with
forceRevalidate: true
Any thoughts?
The text was updated successfully, but these errors were encountered: