We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a memoized select function runs twice under some circumstances, even though it should only run once.
circumstances:
https://codesandbox.io/s/select-runs-twice-bf3pp
select should only be executed once per input
Every time
No response
all
if the query key changes with the input, select is correctly only executed once.
in this sandbox, I've only added input to the query key and things work:
input
https://codesandbox.io/s/select-runs-twice-forked-qrtqm?file=/src/App.tsx
The text was updated successfully, but these errors were encountered:
🎉 This issue has been resolved in version 3.34.4 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
🎉 This issue has been resolved in version 4.0.0-alpha.5 🎉
Successfully merging a pull request may close this issue.
Describe the bug
a memoized select function runs twice under some circumstances, even though it should only run once.
circumstances:
Your Example Website or App
https://codesandbox.io/s/select-runs-twice-bf3pp
Steps to reproduce
Expected behavior
select should only be executed once per input
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
all
Additional context
if the query key changes with the input, select is correctly only executed once.
in this sandbox, I've only added
input
to the query key and things work:https://codesandbox.io/s/select-runs-twice-forked-qrtqm?file=/src/App.tsx
The text was updated successfully, but these errors were encountered: