-
Hi, I am using useInfiniteQuery to display a pretty big comments FlatList in react-native. Every page has 30 entries. What is the best way to mutate that list? Calling What is the best way to update here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I managed to get it working thanks to this discussion: I used setQueryData with immer + invaidateQueries onSettled. |
Beta Was this translation helpful? Give feedback.
I managed to get it working thanks to this discussion:
#848
I used setQueryData with immer + invaidateQueries onSettled.