Same here.
For years, I resisted even using an external monitor, preferring to work on my laptop's monitor instead. I finally switched to using a monitor when poor posture started getting uncomfortable.
I almost always have just one window on the screen, maximized. I'm also using virtual desktops to switch between the browser/app and the IDE. This kind of setup really helps me with the focus, but at the same time it's not too annoying.
I used to just use the macOS virtual desktops, but with the Apple Silicon transition, they also added annoyingly slow animation for desktop switching. That can not be turned off (seriously, wtf, Apple?). I jumped to FlashSpace the second I found about it.