Play tic tac toe at https://reactoe.netlify.app/.
- Refer to the React documentation to get React up and running on your local environment.
- No additional dependencies :)
- Fork this repo into a dedicated folder, navigate to that folder, and 'npm start' will open a browser window with the game.
This project was inspired by a separate project (formAlly) that uses React to dynamically render forms from JSON data, including fields which are rendered conditionally in reponse to another field's input.
I'd recently started learning React and it had been a while since I used JavaScript. I wanted to learn about managing state and followed the tic-tac-toe tutorial on the official React site. The claim that mastering all the elements of writing an in-browser game of tic tac toe will solidify React essentials feels accurate. It's a nicely written tutorial - and it was fun to make a simple game :)