πΉοΈ 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 - The Complete Guide 2024 (incl. Next.js, Redux)Video
by Maximilian SchwarzmΓΌller
πΉοΈ Levels: π± Beginner, π Intermediate, π Advanced
β³ Duration: 68 hours
π€ Price: $10
π§βπ» Learning Platform: Udemy
Learn Advanced ReactWrittenInteractive
by Jiwon Shin
πΉοΈ Levels: π Advanced
β³ Duration: 5 hours
π€ Price: Subscription
π§βπ» Learning Platform: Codecademy
Reusable State and Effects with React HooksVideo
by Elijah Manor
πΉοΈ Levels: π Intermediate
β³ Duration: 1 hours
π€ Price: Subscription
π§βπ» Learning Platform: Egghead.io