I don't typically have muscle cramping issues, but when I started increasing my mileage/saddle time, especially in the heat, I suddenly did. I've gotten into the habit now of dropping a Nuun tablet into my water when I ride. It doesn't have any extra sugar, and gives me the little bit of extra electrolyte boost (sodium, potassium, magnesium, calcium) that I need when I'm riding. I find that normally the rest of the time I can just eat a normal healthy diet, and I'm fine. Once in a while I can feel that I'm craving, and I "pre-load" myself before the ride.