-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
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
SetState doesn't work on the paginate firestore #136
Comments
Same thing here, I haven't found a way to do this either |
me too. |
Yo @nirancodelab, can you try using the |
Did you solve it? |
Set State doesn't work on the Paginate firestore. Lets say i have a query of a collection called categories and inside it, a document called "utensils" and a nother called "art". Each of these documents has a nested list of documents and other data. I have a variable called "currentlySelected" that storesthe value of the category the user is currently viewing. If i load up the paginate firestore with the initial value as "utensils", it works. If a user presses a button and i use setstate to change the value of currentlySelected to "art", the data shown is still the same from the previous category. The variable in the query doesn't get changed dynamically.
The text was updated successfully, but these errors were encountered: