You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use shouldComponentUpdate or PureComponent to optimize performace --- rerender Gameboard component only when size changes (the only thing that matters for rendering gameboard as a whole), and remake Gameboard cells into separate components and have them rerender when their alive property changes.
It should rerender only when SIZE state is changes, I should not care about GAMEBOARD or MOUSEDRAG state
The text was updated successfully, but these errors were encountered: