You will build a small tic-tac-toe game during this tutorial. Immutability makes it very cheap for components to compare whether their data has changed or not. When clicking on a Square , the child Square component now asks the parent Board component to update the state of the board. With two stars level 1 the game is easy. First, add a Game component with export default.
nest...