Sync 2 light switches utilizing stateful components, and calling an event listener between the App and Switch components
Rcommend looking at the App.js first to see how the modules interact to use the switches in sync
Used React library and forked the base code from CodeSandbox
If you have any question or would like to contact me, please email me at mariemlaqua@gmail.com, with "Coding" in the subject line.