Skip to content
Discussion options

You must be logged in to vote

If you want to wait for sending a request until user_id has come, you can use the conditional fetching feature by passing null as its key.
https://swr.vercel.app/docs/conditional-fetching

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@adherb
Comment options

Answer selected by adherb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants