I think it works great if you're good with VSCode and developing in Github Codespaces or something similar.
Using an iPad Pro with the keyboard works great, plus you can use a bluetooth mouse and even have a second monitor.
Even with all that, I still use my laptop a lot more.