What is the "right way" to pass down query data? #463
-
A) Props drilling? B) Creating a custom hook to create a new "instance" of the same query and use it down the component tree? C) Accessing the query cache directly? D) Other - which one? |
Beta Was this translation helpful? Give feedback.
Answered by
tannerlinsley
May 7, 2020
Replies: 1 comment 8 replies
-
B for subscriptions in components, C for imperative stuff. |
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
taschetto
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
B for subscriptions in components, C for imperative stuff.