due to how much electronic stuff is in the car now that can get damaged
You are correct.
I never spray high pressure water on the engine itself.
Pop the hood and wash the underside of it and spray the engine compartment down too.
(Translated to American English as: Spray the underside of the hood and the compartment that the engine is housed in)
A lot of engines today are aluminum and don't corrode from salt.
I do however wash the underside of the hood and fenders inside the engine compartment.
(The metal stuff that rusts from salt)
The over spray is not enough to hurt any components.
I have never had a problem but then again I drive a truck that is built for abuse.