Replies: 1 comment 2 replies
-
Seems like whatever I do any variables passed to the fetcher function don't update when they change. Perhaps I am just misunderstanding javascript. |
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
-
The issue I am having is every call of size + 1 while resulting in a new query does not change any of the values sent to the fetcher. I am perhaps using it in a bit unusual of a way. However I believe I also tried it correctly in a more conventional approach and could not get it to work as well. I am sure I am missing something.
Whenever I call setSize(size => size+1), searchCredits only receives skip: 10 no matter how many times.
size is increasing with each call but its not passed down.
Any thoughts or guidance would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions