-
Hello everyone. I want to make the same request in two different components to avoid prop drilling. Will it make 2 separate requests? Or just one and then the second will get the data from cache? |
Beta Was this translation helpful? Give feedback.
Answered by
shuding
Jul 9, 2021
Replies: 1 comment 1 reply
-
Please read the documentation here: https://swr.vercel.app/docs/getting-started#make-it-reusable. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
geovla93
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please read the documentation here: https://swr.vercel.app/docs/getting-started#make-it-reusable.