scrimba
Tic Tac Toe
Create states and fill with initial data
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

To see this lesson you need to be logged in. Joining Scrimba is free and gives you access to 20+ courses.Sign up
Create states and fill with initial data
AboutCommentsNotes
Create states and fill with initial data
Expand for more info
components
Game.js
run
preview
console
import React from 'react';
import Board from './Board';

const Game = () => {

const handleClick = () => {

}

const jumpTo = () => {

}

const renderMoves = () => {

}

return (
<Board onClick={handleClick} />
)
}

export default Game;
Console
/index.html
-5:20