It's not an either/or. You can use platformio with esp-IDF or arduino for ESP chips.
PIO + esp-IDF is the only way I write ESP firmware.