merged
nom-social/nom • 3:57 AM - Mar 15, 2026
We've eliminated feed flicker when liking posts by moving optimistic state updates from an async success handler to an immediate onMutate trigger. By removing the brittle useEffect that synced server-side props back into local state, we've ensured user interactions aren't overwritten by background refetches. This change also includes robust error handling to correctly restore previous state during failed mutations. 

