From: Carl Worth Date: Sun, 21 Jun 2020 16:16:29 +0000 (-0700) Subject: Rename local variable from "active" to "grid_active" X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=f44e7e5f69e19ceb1909f371eb88e44e736990ee;hp=f44e7e5f69e19ceb1909f371eb88e44e736990ee Rename local variable from "active" to "grid_active" There is an "active" property up and down our component stack, (at the board level, whether it's the current players turn; further at the mini-grid level, whether it's a legal mini-grid; further still at the square level, whether the square is unoccupied). It's clear enough to uses a props name of "active" at each level. But when using a local variable to compute the child's "active" prop while in a current component with its own "active" prop, this can get confusing. So, at the board level, use a local variable of "grid_active" to compute the "active" prop for the child grid. ---