Avoid some repeated references to "this.type"
authorCarl Worth <cworth@cworth.org>
Fri, 5 Jun 2020 18:03:08 +0000 (11:03 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 6 Jun 2020 11:46:51 +0000 (04:46 -0700)
commit5eb93fbba3926dab3454295b14f521b6a9bc11d0
treeb85190d01bf1bbfaf9702112343e2d123d3b2e0d
parent1809f95530cf644d89b33ac30c2c574ecd9365bd
Avoid some repeated references to "this.type"

Simpler to just cache this is "state" at the beginning of the function
and then use that throughout.
tictactoe/tictactoe.jsx