Tic Tac Toe: A Playful Intro to React

Hunor Borbély, Web developer

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
13 Lessons (44m)
    • 1. Introduction

      0:38
    • 2. Breaking Down the Game Into Components

      2:56
    • 3. Writing Our First Components

      4:55
    • 4. The Grid

      4:36
    • 5. Which Square is Which?

      4:02
    • 6. The Changing Parts

      4:20
    • 7. First Attempt to Add a State

      3:01
    • 8. A State That Can Change

      2:26
    • 9. Circles and Crosses

      3:49
    • 10. Interaction

      3:41
    • 11. Detecting the Winner

      4:12
    • 12. And the Winner Is...

      4:23
    • 13. Conclusion

      0:36
30 students are watching this class

About This Class

In this class, you will learn the key concepts of React while building a Tic Tac Toe game. 

We are going to dive into some basic concepts in React like:

  • How to break down your application or game into smaller pieces, into components
  • How to structure your logic and how to connect these components with props and callbacks
  • How to deal with change, what is the state, what to store in it and where to define it
  • How to add interaction and how does re-rendering work in React
  • And while it has nothing to do with React we are also going to draw some basic images by coding SVGs

This is an intro course, no prior React knowledge is required, but some HTML, CSS and basic Javascript skills are needed.