Its not a few seconds. The difference between high and low heat can easily exceed 1-1.5 minutes for gas vs typical electric most people have.
This makes cooking very difficult. When you turn down the knob from high to low, the element continues to cook your food at high to medium heat for another minute. This can burn or overcook your food. The converse of turning the knob from low to high is less bad, but can still be quite problematic.
You can easily anticipate this and turn down the nob early. When you inevitably fail to anticipate it, just remove the pan/pot from the stove for that time period. This is not rocket science. I get headaches from the gas fumes while cooking and I regret making the change every day. Yes I have a powerful vent hood. It is not enough for me personally.
Perhaps you are a better cook than I am. I look at physical signs like color changes, bubbling, texture changes etc, to move on to the next step. I can't always anticipate these changes ahead of time, and if I make a mistake in the anticipation, then getting back to the right temperature can easily add a few minutes to the cooking and potentially cause harm to the taste.
Of course, there are hacks like physically removing the pot that work, but it is added complexity on top of gas stoves.
The above obviously does not mean the gas stoves are objectively better - it only establishes that on one critical dimension gas is better than electric.
This makes cooking very difficult. When you turn down the knob from high to low, the element continues to cook your food at high to medium heat for another minute. This can burn or overcook your food. The converse of turning the knob from low to high is less bad, but can still be quite problematic.