react.js 입문
-
[React document] tutorial : Completing the gameFront-end/React.js 2020. 2. 16. 18:57
https://reactjs.org/tutorial/tutorial.html#completing-the-game Tutorial: Intro to React – React A JavaScript library for building user interfaces reactjs.org Lifting State Up 더보기 Currently, each Square component maintains the game’s state. To check for a winner, we’ll maintain the value of each of the 9 squares in one location. We may think that Board should just ask each Square for the Square’s..