SWR with useSelector, useEffect with depedency #818
Unanswered
denisonfer
asked this question in
Q&A
Replies: 1 comment
-
I believe it'd look something like
You'd have to write a fetcher function that uses the dependency in a way that makes sense for your use case, but it's hard to know what that'd look like without more information. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello folks
Does anyone know how to redo the code snippet below using SWR?
Beta Was this translation helpful? Give feedback.
All reactions