Hangars are individual components so they will not chainreact. Fighters I believe are just ejected, but they might be destroyed. I've only lost hangars with fighters on-mission so the hangars were empty (except for some unlucky redshirts). And good luck with that missile swarm.