My rear derailleur hanger went yesterday on the commute home. Luckily it was as I started off again after a turn. Still managed to take out 2 spokes itself and possibly the derailleur itself. Luckily, I had spares back to my knackered old Shimano for now.
Wow I thought the derailleur cable was a spoke but then read your text about two spokes going too.
Glad you didn’t come off the bike, could have been nasty.