Open jema28 opened 6 years ago
I disagree since in this way we are attaching the right id(cords) to each one of the elements and this save the trouble of creating all components and then attaching the right cords to it since cords are always going to be the result of to map loops (2 loops) so with your suggestion we would be having 3 loops rather than 2 with more work to do and less efficiency. Further more, in bigger and more complicated board (were our architecture still apply) and only css-ing it will not help.
In future projects, the x and y axis architecture could be simplified down ie. creating the grid in CSS instead of js.