I use my ipad pro as a laptop replacement. It works better than I expected except for a few quirks around keyboard support in apps like safari and aws workspaces which are irritating enough to make coding bear impossible.
But in many ways its better than a laptop, especially around note taking and reading.