Your body isn’t stupid. You won’t turn into a ball of fat if you fast regularly. Cavemen and even animals have long feast/famine cycles. Our bodies are designed to store fat and burn it when food is scarce.
Now if folks are already in a healthy weight, then yea, extended fasting isn’t necessarily something you want to do a lot of, but for obese people, we have plenty of fat to keep things rolling as long as other essential nutrients are supplemented via multivitamins.
Warning: Don't take too much salt all at once, because that can trigger a regurgitation..
If that were true (it's not), there are all sorts of important "electrolytes" that are not in table salt (Calcium, Potassium, Magnesium, etc).
The reason your technique resolves your dizziness is likely a combination of placebo and hydration.