Inspecting the Starter Code
If youвЂ™re going to operate on the guide in your web web web web browser, available this code in a tab that is new Starter Code. If youвЂ™re going to exert effort in the tutorial locally, alternatively open src/index.js in any project folder (you have previously moved this file through the setup).
This Starter Code could be the base of just just what weвЂ™re building. WeвЂ™ve provided the CSS styling so you just need to concentrate on learning respond and programming the tic-tac-toe game.
By inspecting the rule, youвЂ™ll observe that we now have three React elements:
The Square component renders an individual additionally the Board renders 9 squares. The overall game component renders a board with placeholder values which weвЂ™ll modify later on. You can find presently no interactive elements. (more…)