Tic Tac Toe
ReactTypeScriptuseState
A classic Tic-Tac-Toe game built as a first React project, based on the official React tutorial.
What I learned
- React component structure and composition
- State management with
useState - Handling user interactions and events
- Conditional rendering
- Immutable data patterns for move history
Technical details
The game features a 3x3 grid where two players take turns placing X and O marks. It includes move history tracking and the ability to jump back to any previous move, demonstrating how immutable state updates enable powerful features like time travel debugging.