-
Hello, I have a rtk query de queries service. I will make the request in a different component and the display of the result in a different component. Here is how I can capture the result of the endpoint in the other component. Passing it as props, sending requests in the same way as the body (receiving data from the cache) did not come a good solution. Is there such a thing as result sharing between hooks? |
Beta Was this translation helpful? Give feedback.
Answered by
phryneas
May 5, 2022
Replies: 1 comment 5 replies
-
Use the same hook with the same argument in another component and no extra request will be made. |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
phoique
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use the same hook with the same argument in another component and no extra request will be made.