I've been saying this for over 2 years now, and especially seen this in action with teams in my own company which are a good mix of junior and senior folks.
- Junior folks on average spend longer being stuck before reaching out. We organized a few physical offsites where the whole team got together in-person and that helped reduce the friction quite a bit because folks interacted with each other outside of just "We need to get X done" which naturally happens because we never really got to know folks outside of "planned" onboarding/weekly/standup etc. Zoom calls.
- I learnt A LOT of Dev setup looking over shoulders of devs much better than me, be it interesting keyboard shortcuts, learning how to use tmux for split screen, ssh tricks, vim/emacs setups etc. which in the long term made me a better dev. A lot of this is not "mandatory" to know but every dev builds his/her own style of working by absorbing from those around them.
- Lot more friendships/mentorships/team-spirit were created in in-person settings than in remote where everyone feels a lot more "replaceable". Sure, some folks probably prefer it this way, but I'm certain I'm not the only person who wants to look at work as "just something I do to make money" but also a place where I build meaningful relationships and work with smart folks to build something great together while also having fun (which have also helped me when switching between companies and having folks I know already there).
Personally, as someone with enough experience building software, I'm at a place where working remote is the "best case scenario" for me because it gives me complete control of my time, but I absolutely see the tradeoff on the other hand for the folks on the other end.