Replies: 1 comment 2 replies
-
what you're doing doesn't seem functionally different to const { data, isLoading } = useXxxQuery(arg, { refetchOnMountOrArgChange: true }) i would recommend doing that instead |
Beta Was this translation helpful? Give feedback.
2 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.
-
I have something like this:
Should
trigger
be included in the dependency array? Is it safe to assume that it won't change and cause the effect to fire more often than intended?Beta Was this translation helpful? Give feedback.
All reactions