Applies the optimistic vote delta to an item: flips hasVoted and adjusts voteCount by ±1, clamped at zero.
hasVoted
voteCount
Applies the optimistic vote delta to an item: flips
hasVotedand adjustsvoteCountby ±1, clamped at zero.