Honestly, I think UART is still the way to go - I don't really see any reason why SPI should be substantially better, and I'm unaware of any SPI WiFi driver for Espruino that'd work with ESP32. I imagine doing one would be a decent amount of work.
There's some info on using an ESP8266 shield with Pixl.js at http://www.espruino.com/arduino-esp8266 - I've actually been using a Pixl.js Multicolor with an ESP8266 attached to monitor my solar panels here (using MQTT) and it's been working great for me for weeks non-stop.
But if you did want to use ESP32 then the same AT-command library for Espruino should work with it - you'd just have to write the ESP32 AT-command firmware to the ESP32.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Honestly, I think UART is still the way to go - I don't really see any reason why SPI should be substantially better, and I'm unaware of any SPI WiFi driver for Espruino that'd work with ESP32. I imagine doing one would be a decent amount of work.
There's some info on using an ESP8266 shield with Pixl.js at http://www.espruino.com/arduino-esp8266 - I've actually been using a Pixl.js Multicolor with an ESP8266 attached to monitor my solar panels here (using MQTT) and it's been working great for me for weeks non-stop.
But if you did want to use ESP32 then the same AT-command library for Espruino should work with it - you'd just have to write the ESP32 AT-command firmware to the ESP32.