For my day job, I use STM32/C++ because it's what the company has standardized on. For my side gig/consulting work, I've pretty much standardized on ESP32 because it's cheap, has lots of resources and good community, and I can leverage the Arduino ecosystem. It's grossly overkill for a lot of projects but no-one cares. Clients just care that you can ship fast.
My next step is moving the side gig work to MicroPython or some other higher-level language that lets me code much faster than C/C++.
That was my point - the ESP32 is so versatile and cheap, it's my go-to these days for pretty much everything.
Being about to have an easy and reasonably powerful js runtime for that sounds great.
Apparently node-red also has something for esp32?
And I haven't tried it, but low.js looks cool too [1]
For example, it supports ESP32.
Every problem sure starts to look like a ESP32 nail if I have this tool chain available.