Do I need to make this object part of the query key? (Expected stable) #7924
Unanswered
florianwalther-private
asked this question in
Q&A
Replies: 1 comment 2 replies
-
do you have to create the wix client inside the react scope and then use it via a hook? If you create it outside the react lifecycle and just import it, it's seen as stable. We can't know what's stable when it comes from a custom hook. Otherwise, we'd need to add some sort of whitelist, which we've tried to avoid |
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.
-
TanStack's Linter is telling me to add the wixClient to this query key:
I understand why; if the wixClient changes we want to fetch again.
But:
Can I ignore this Lint warning here or do you suggest adhering to it?
Beta Was this translation helpful? Give feedback.
All reactions