Tracked notifyOnChangeProps on separate components #8487
Unanswered
talberkoMelio
asked this question in
Q&A
Replies: 1 comment 9 replies
-
How is the prefetch triggered? |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use the same query across different components.
One component uses some props from the query (data, isLoading etc), and another one only triggers a fetch for prefetching without using it.
By using the "tracked" notifyOnChangeProps, will the component which only prefetches the query be rerendered when the data is changed?
Because when debugging it I do see it still rerenders.
Would appreciate your feedback
Beta Was this translation helpful? Give feedback.
All reactions