Mobile first + Vite + React + Tailwind
Design comparison
Solution retrospective
Hi there,
This is my second time using Tailwind, this time with React instead of Vue, I think Tailwind does deserve a chance, it has the benefit of not thinking how to name classes, but it also has the downside of searching for a css rule in the docs instead of writing it immediately (at least until you get used to it). I shamelessly stole the box shadow value from a different project because I'm not that well versed on creating multiple shadows at once with CSS. Implementing the game logic wasn't that hard but I did stumble on a bug/feature of React that renders the components twice because of React.StrictMode, it only happens on the development environment.
Do leave a comment if you have constructive criticism. Florian
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord