Using React to make a Web Interface to talk to Arduino

Hello I would like some general advice on the feasibility of making a React.js web app that can talk to an Arduino UNO chip. I am going to do something simple (at least something my friend recommended would be simple), like turning a light a light on and off. I have seen online someone made a Node.js program to do this, so I like to think this is possible.

Any tips, guidance, criticisms etc are welcome and needed.

Hi,

I'm NOT an Arduino expert, but I am a software developer.

So I'd guess (and it is a wild guess!) that you'd want your C++ code to poll a web service running on your ReactJS page which contains a flag of some sort to say whether or not to turn on the light.

Obviously you'll need your Arduino project to be running on wifi as well.

Good luck!

skyboyflyboy:
Obviously you'll need your Arduino project to be running on wifi as well.

And the moment you mention WiFi, the version of an "Arduino" swaps to an ESP8266.

In a module like this: