Closed Vandivier closed 1 year ago
Hey @Vandivier, could you provide a minimal reproduction for this?
closing bc the project i was on where this occurred it closed source but i'm no longer getting paid to work on it, so i have very little motivation to extract the repro from it any time soon
What is the problem?
i have a UI component that needs data sets A or B. the client should exclusively request one at a time and should never make https calls for both. unfortunately, it seems like
useQuery
is making both http calls every time, even thoughenabled
is set to false for one.the component ends up getting the right data, but on my chrome devtools i see both calls are being made
Paste all your error logs here:
Paste all relevant code snippets here:
What are detailed steps to reproduce this?
1.
Run
blitz -v
and paste the output here:Please include below any other applicable logs and screenshots that show your problem:
No response