I would never put to sea with only electronic sources for navigation. System hitches do occur, stuff gets wet and stops, batteries die etc etc. But magnetism always works. Get yourself a real compass even if it is only for backup.

Have a good one