Detect if value is optimistic #3662
Unanswered
alexnsorensen
asked this question in
Q&A
Replies: 1 comment
-
You also able to write your own exchange to hold Request 2 and wait for the response of Request 1. Place it somewhere between cacheExchange & fetchExchange and just filter requests that has invalid ID. Inside the cache exchange you could get it from |
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
-
I have optimistic updates working great, however, is there a way to determine if a value is optimisitc or not?
My current situation is this:
What I'm after is stopping the user from being able to delete said item until it's back from the server, my only solution is to inject a property into the optimistic value.
Beta Was this translation helpful? Give feedback.
All reactions