Replies: 1 comment 1 reply
-
Took some digging, the releases didn't explain much but the blog did: It sounds like you should use the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I see the documentation using the hook
useSWRConfig
, it also explains the difference of a "bounded mutate", but I cannot seem to find anything about the mutate from the import.Is there any difference aside from one being bound to the component lifecycle?
Using the import is quicker and more direct it seems.
import
useSWRConfig Hook
Beta Was this translation helpful? Give feedback.
All reactions