Depending on exactly what you want to work on, also look into using something like Blink[0].
I have several servers set up that I can now easily access from my iPad (or anything with an internet connection and an SSH client). I have one "bastion" server that basically acts as a headless dev box with mosh and tmux set up. As long as I have internet, I can quickly access machines that are far more capable than any laptop I've owned.
Even when I inevitably do need my laptop for something, having this setup is great for continuity [1].
Of course, this is not a drop-in replacement for a proper desktop OS, especially if you aren't a heavy CLI user [2]. However, in a similar vein to "Linux is NOT Windows" [3], you can't expect a mobile experience to be significantly better without being significantly different.
Over the past couple years where I've been dabbling with it, I have made a couple of mentality shifts about how I want to use computers going forward. Even if I don't every use an iPad as my main/only physical device, I now happily carry around one of the 12" Macbooks since I don't need all the computing power on my person.
None of these ideas are particularly new, but I haven't seen many other people really taking it past "SSH into server, run command(s), exit".
[0]: A very well-made SSH client for iOS that supports mosh): https://blink.sh/
[1]: I can shut my laptop even if a large/long job is running since the job is running on a server.
[2]: For some things, I've used VNC or other remote desktop type tools, but this experience also comes with heavy tradeoffs. YMMV.
[3]: http://linux.oneandoneis2.org/LNW.htm