-
Hi guys, I tried to get optimistic updates
I don't understand why it doesn't apply optimistic data for my cache key and I see updates only after 1-2 seconds when revalidation done after updating on the server |
Beta Was this translation helpful? Give feedback.
Answered by
dimau
May 24, 2023
Replies: 1 comment
-
The problem was in mutation of the current object in SWR cache |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dimau
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem was in mutation of the current object in SWR cache