Interesting question from Engineering Hour on Sunday, 3/24 as to whether you should leverage the Arduino IDE or ESP framework for commercial IoT device development. Interested to hear from our experts and the rest of the @MCU, MPU & Firmware group!
It depends on you and the application that's involved. For small applications that has less features and functionality, using the Arduino IDE can be a good choice because it can fasten the time of development.
However the esp framework is a better choice when it comes with sophisticated applications that has lots of complexities, using the IDF here is good because it will help you do most low level manipulation that will be very difficult or impossible to do with Arduino IDE