Replies: 1 comment
-
Delete discussion |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've implented optimistic update but I've having problems with multiple quick cache updates.
I have an endpoint that toggles an active flag on an item. Because I need to update the switch the user clicked on upon toggling the active state I need to update it quickly because otherwise it feels sluggish and slow.
So I actually want to skip step 5 because I consider that result stale. Will RTK let me do this in some way?
Here's what happening visually.

Beta Was this translation helpful? Give feedback.
All reactions