đšī¸ Levels: đ Intermediate
âŗ Duration: 0.5 hours
đ¤ Price: Subscription
đ§âđģ Learning Platform: Egghead.io
đ§âđ Certificate: No
đ Key Learning Outcomes
- Utilize guard statements to check for wins and ties.
- Pass handleClick functions into a child component to modify parent state.
- Keep state immutable by cloning and returning new state.
- Utilize data structures effectively.
đ¨âđĢ About the Course
Learn how to manage complex game state in React by building a Tic Tac Toe game. This course covers creating a 3x3 grid, implementing game logic, and using useReducer to manage state effectively.
đ¯ Target Audience
- Ideal for intermediate developers familiar with React and JavaScript who want to enhance their state management skills.
â Requirements
- Basic knowledge of React and JavaScript is required.
đ Course Content
- Create a 2-Dimensional Grid for our Tic-Tac-Toe Game.
- Map Over a 2-Dimensional Array to Create a Game Grid in React with CSS Grid.
- Convert a 3x3 Tic-Tac-Toe Grid Interactive by Adding Buttons in React.
- Handle User Input by Adding State to the Tic-Tac-Toe Grid with React useReducer.
- Reset React State with a Button and Function in our Tic-Tac-Toe Game.
- Check for Winning Conditions in React useReducer for Tic-Tac-Toe.
- Prevent Impossible States and Check for Draw Conditions with Guard Statements in React.
Drop a comment
Manage Complex Tic Tac Toe Game State in React by Kyle Shevlin
Log in to leave a feedback
Loginđ Psst! Interested in More React Courses?


React and TypeScript, v2Video
by Steve Kinney
đšī¸ Levels: đ Intermediate
âŗ Duration: 4.5 hours
đ¤ Price: Subscription
đ§âđģ Learning Platform: Frontend Masters

Create Contextual Video Analysis App with NextJS and Symbl.aiVideo
by Vladimir Novick
đšī¸ Levels: đ Intermediate
âŗ Duration: 0.5 hours
đ¤ Price: Free
đ§âđģ Learning Platform: Egghead.io


Fundamental Next.js API and PatternsVideo
by Lazar Nikolov
đšī¸ Levels: đą Beginner
âŗ Duration: 1.5 hours
đ¤ Price: Subscription
đ§âđģ Learning Platform: Egghead.io