-
In this documentation, it said
In my case, i really don't want the library to call the function again (the I check my console, when navigated to previous pagination, the fetch request was always requested. Previously, i was using SWR, it was perfectly fine what i need for this case. Probably, i missed something. How do i fix this case in TanStack/react-query? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
set a higher |
Beta Was this translation helpful? Give feedback.
you can set
initialData
for a specificcategory
only, e.g. the first one (0):