Funnily enough, to avoid all the cables and mess, I simply plug my Pi 4/8Gb straight into my iPad, then VNC or SSH into it, and instantly have a development environment. I would have to use some kind of hub to charge the iPad at the same time and plug an external monitor in, but the iPad Pro plus Smart Keyboard plus a Pi works brilliantly. (Where's my cheque, Tim?)