Replies: 1 comment
-
You don't need to add in the arguments. Just use the following. In the example I pass in the params as strings.
Sandbox: https://codesandbox.io/s/trusting-lumiere-he9km?file=/src/App.js |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have this fetcher:
I have this helper
Now why this gives an infinite loop?
const { data, error } = useJobs({ param1: "hi", param2: "hi" }, { token: layout.token });
this
useJobs
has to accept multiple params, not just single value, how to do this?Beta Was this translation helpful? Give feedback.
All reactions