12 Days of Baddass Courses sale! Get instant access to the entire egghead library of courses and lessons for 58% off.

Runs out in:
11 : 17 : 26 : 37
Join egghead, unlock knowledge.

Want more egghead? It's 58% off for a limited time only!

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock All Content for 40% Off
Become a member
to unlock all features

    Using React Hooks to Build a Tic-Tac-Toe Game with Kent C. Dodds

    Joel HooksJoel Hooks

    To help accelerate our understanding of React Hooks, Kent is going to live-code a tic-tac-toe app from the ground up taking a Hooks first approach!

    Hooks allow you to better separate your app's visual components from its state and functionality. Kent takes an accessibility and readability first approach to React development, so using hooks to separate your concerns makes your app easier to debug as well as reducing the mental and visual overhead when you are making sense of the code, making your code all around more maintainable.

    • useHooks.com

    • Data is static information, state changes over your component's lifetime

    • Reducers let you move logic from your component to your pure reducer function. Changes to state always go to the same function, it's great for debugging.

    • Reducer concepts are covered excellently in Dan Abramov's Getting Started with Redux course


    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson