Note: some bike computers also have built-in mapping, something I find useful on my Garmin Edge 530 is the breadcrumb feature which allows me to explore new territory to my heart's content and not worry about getting lost as I can just turn around at any point and follow the breadcrumbs on the map.
Note 2: I don't even have my phone out, it's always in my under-seat bag. Cycling computers are great, battery lasts forever (well in excess of 10 hours of riding with the computer on), visible in all lighting conditions, show a plethora of data at the same time (I have 8 live metrics shown at once), and are mounted in such a way that if you fall they likely won't get damaged, because a) they're unlikely to take a direct hit, and b) aren't big & heavy like a $1k iPhone 11 Pro Max with lots of glass that can shatter.