Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
We used a custom hook to lunch the data fetch
which triggers the consumer component re-rendering (mounted<->un-mounted) many times during a data fetch session.
And we got the first query cancelled when we pass down an abort signal on this React query function.
Any best practice to avoid this pattern would be appreciated?
useGetProduct (custom hook)
Beta Was this translation helpful? Give feedback.
All reactions