totally disagree. you should have a paper topographical trail map (and know how to read it), and google maps saved offline map with topographical mode on. The chance of someone getting themselves in trouble using a compass incorrectly is much higher than electronic device giving out. If the paper map is useless, then bring two electronic devices.

Neither are going to have warning for overflooded rivers. But I rather have gps digital map to off-trail out then a compass. I've had to do it before.