Will updateQueryData update transformresponse data automatically? #3529
-
I have use
the original data only has
I want to confirm if I have to do the manually update for transformed data in transformResponse when manually cache refresh, or redux toolkit itself can update the transformResponse data when manually cache update? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
transformResponse is only called when fetching. your updateQueryData call will receive the already transformed data from store, and can operate on it as it chooses. |
Beta Was this translation helpful? Give feedback.
transformResponse is only called when fetching. your updateQueryData call will receive the already transformed data from store, and can operate on it as it chooses.