Pickle juice is a natural source of sodium and other electrolytes which helps replace sodium losses from sweat and even helps retain water in the body therefore eliminating cramping.
There is even a company called Pickle Juice Sport that sells it by the bottle like any other sports drink.
I think it is worth a try this summer since I do have a history of cramping up. I’ll let you know if it works.
Love, live, and ride.