Hi,
Electronics usually isn't sensitive with the cleaning process.
In the 1990s we cleaned PCBs after wave soldering in a bath of alcohol, surely there was water, too.
Later we used non alcoholic cleaning.
Later came the "no clean" flux. No need for washing standard PCBs, but some PCBs needed washing.
This was and is done in water containing alcalic solution containing tensides...and after this with demineralized water.
Most electronic parts won't be harmed.
Some parts don't like washing:
* uncoated film capacitors (where water may come inside)
* contacts, connectors, unsealed relays ... with gaps where water come inside but rather difficult out (it maybe needs drying with vacuum and/or high temperature)
* ultrasonic cleaning of XTALs (may break caused by resonance) and (sealed or not) contacts (may stick together by "ultrasonic welding")
* other components
I've heard that some do PCB cleaning in a standard dish washer. I've never done this. But there are professional PCB cleaning machines that come from houshold machines brand and look very similar ;-).
Not knowing about temperatures, timing, materials, cleanser...
Klaus