You can of course use anything you want, but personally I am only using MicroBlocks to program any microcontroller including the micro:bit, ESP32 family, etc.
There is a special App Inventor extension that makes it really easy to talk between MicroBlocks and App Inventor. I already made several apps this way.