6 months ago
0
73
I want the upvote button on baseCase to feel instant. Currently, there's a 500ms delay while the server action processes. I'm trying to use the new React useOptimistic hook to update the UI immediately, but I'm struggling with how to handle the state revert if the server action fails.


No one has answered yet. Be the first to answer!
1