ESP32-B (ESP8266 successor) now available with 8MByte (double) RAM
mouser.de
mouser.de
Basically you'll start fiddling with an Arduino Uno and would want to move to a smaller piece of hardware and will find out that your code doesn't work on the ESP32. The ESP8266 is your best bet at the moment. Unless someone here knows something i don't?
The Arduino core has been ported to ESP8266, but IMO that's a completely unnecessary level of indirection. Learn how to program the hardware. ESPs documentation is top notch, and C/++, Python and Lua can all be used.
Especially the dual-core nature of the ESP32 is not really compatible with the Arduino way of thinking.
Just my opinion.
https://www.mouser.com/ProductDetail/Seeed-Studio/317060016?...
or an upgraded nodemcu type board?