Battleship web app made with SolidJS using solid-start.
`targetPreview` did not show up when moving the mouse from an empty to a missle field and then back to the empty field. The cause of the problem was no update of the position when going over the missle field and when going back resultend in no `potisionChange` which reslted into an early return. Fixed this by adding the dependency `show` for early return caused by no `positionChange` which blocks the early return when `targetPreview` is not being `show`-n. |
||
---|---|---|
frontend | ||
README.md |
leaky-ships
Battleship web app with react frontend and ASP.NET Core backend