Morton Lite Salt is about half sodium chloride and half potassium chloride, NoSalt is 100% potassium chloride, and, of course, table salt is 100% sodium chloride. (Lite Salt and NoSalt are available in grocery stores as salt substitutes.) Nerves and muscles need both potassium and sodium to operate properly and the concentrations in the body need to be within certain limits--either too much or too little can cause potentially serious problems. (Other ions are important too...)
I am neither a biochemist or medical doctor so I cannot give you specific advice for your situation. I suggest that you talk to your doctor or perhaps an appropriate specialist for advice.
I do know that the amount of the various ions in sweat can vary across people and within a single person so some experimentation may be required. One advantage of the make-it-yourself electrolytes is that you can independently vary the components to meet your needs. (Commercial electrolytes only allow you to vary the concentration of the total, but different brands vary so you can get some individual control by choice of brand.)
And, of course, your food is a factor too for both electrolytes and sugars.
Doug