Closed kamilmielnik closed 1 year ago
SVGs could be served with next/image
, that should help with 12 nodes
Removing Button's .content
can save 9 nodes
PlainTiles
rendered from EmptyState
have 24 nested nodes in English
Nav's separator occurs 3 times but could be done with pseudoelements
7 nodes can be saved by removing .content
in Results header buttons
Cell
could be merged with Tile
for potentially 225 nodes saved
Board
could use display: grid
and save 15 nodes (rows)
Edit: done
Tile could be merged with its input for potentially 225 + 7 nodes saved
Edit: extracted to https://github.com/kamilmielnik/scrabble-solver/issues/276
Cells & rows could be replaced with a single SVG (per game type) in the background for potentially 225 + 15 nodes saved
Cells & rows could be replaced with a single SVG (per game type) in the background for potentially 225 + 15 nodes saved
This is so fun I'm going to try it. Render the SVG board with React to string, then base64 encode it and pass it to <img src=
:man_shrugging:
31 to go