With spindels, this is quite clear.
Iops scale with number of vdevs. While a single disk has about 100 iops, a raid-10 has 200 iops on write and 400 on read. With a massive raid-10 of 10 vdevs you can get 1000 iops on write and 2000 iops on read (as ZFS reads from both disks of a mirror).
With SSD this is different. A cheaper SSD can give you a few thousand iops even under load, enterprise SSDs a few 10000 and NVMe 100000 and more. This changes the game especially as good SSD are expensive. While iops scale as well, even a single raid-z can give you enough iops.
The real problems.
As there is usually no trim support in a raid, you need SSDs with a high overprovisioning and a good firmware or performance will drop after a short time of writing. Even with trim support this will lower your performance under load. This means enterprise SSDs if you want a constant performance
As you always have a background data reordering/ garbage collection, you should use SSDs with a powerloss protection in a production environment.
Your overall experience with SSDs may depend on SSD quality.