Reimplement the Lights Out game using React. This version of the web app should have same two components as the clickable grid:
- App - dynamically creates a 2-dimensional grid of cells
- Cell - toggle’s its and its neighbor’s background color on click
Except, the state will need to be lifted up out of the Cell component and into the App component. Feel free to use the HTML, CSS, and JavaScript code from the previous version of the app to facilitate creating the React version.