DylanSp / tic-tac-toe-react

A simple client-side Tic-Tac-Toe app for learning/practicing React.
MIT License
0 stars 1 forks source link

Remove componentWillUpdate() from Cell - not actually necessary #37

Closed DylanSp closed 2 years ago

DylanSp commented 2 years ago

Fixes https://github.com/DylanSp/tic-tac-toe-react/issues/36.

Cell won't draw anything on its canvas on the initial render, but it doesn't need to - on the first render, the game board's empty anyways.