You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using useInfiniteQuery with argument sent to a resolver function, enabled: false and keepPreviousData: true, data are deleted when one of arguments are changed.
To Reproduce
Steps to reproduce the behavior:
Create useInfiniteQuery with some argument that is changing
Set enabled: false and keepPreviousData: true
Fetch some data
Change the argument
Data are gone
Expected behavior
Data should remain
Desktop (please complete the following information):