Skip to content

How does fetcher use url as an argument if it's never declared? #633

Answered by sergiodxa
platocrat asked this question in General
Discussion options

You must be logged in to vote

SWR falla your fetcher function passing the key as argument, in your case your URL is the key so your fetcher receives the URL from there.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shuding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants