Clears the active vote error state.
Returns the error for a specific item, or null if none occurred or has been cleared.
Whether a vote toggle request is currently in flight for the given item.
Toggles the vote on a feature request with optimistic update, server reconciliation, and delta-based rollback on failure. No-ops while the same item already has a vote request in flight or for the user's own requests.
Most recent vote error, or null if the last attempt succeeded or has been cleared.
Result of useToggleVote.