Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Scrimba

Build Tic Tac Toe with React Hooks

via Scrimba

Overview

This quick course will teach you to build the classic Tic Tac Toe game using modern React and React Hooks.

Syllabus

  • Build Tic Tac Toe with React Hooks
    • 1. Introduction
    • 2. Scaffolding Components
    • 3. Square Component & destructuring props
    • 4. Board Component and scaffolding functions
    • 5. Square Styling
    • 6. Board Styling
    • 7. calculateWinner function explained
    • 8. Create states and fill with initial data
    • 9. Create the handleClick function
    • 10. renderMoves function and the last JSX
    • 11. BONUS: Implement Time Travel
    • 12. Congratulations on completing Build Tic Tac Toe with React Hooks 🪝

Reviews

Start your review of Build Tic Tac Toe with React Hooks

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.