/react-iot

Server-side React for IoT projects

Primary LanguageJavaScriptMIT LicenseMIT

react-iot

Server-side React for IoT projects

Node version: v15.8.0

In the finished application the real-world electronic sensors update the React component’s state as soon as they receive new readings.

Then in the render function the LED component, using the newly updated state, works out whether it needs to switch on or off.

Link to full introduction Medium Post: Using React and React Hooks to Switch Electric Lights and Read Sensors