Results Summary Component (React+Tailwind+TypeScript)

Solution retrospective
I completed this challenge within 7,5 hours. It was my first time with React, TypeScript and Tailwind, bundled by Vite. Deployed on Vercel. I created custom use-counter hook to use counting effect inside my components. I also used useState and useEffect hooks. I'm not really sure if I used TypeScript here properly.
I had problems with json file and icons path. I placed them in my public folder. I have read that it's not a good approach. Please tell me how I can code it better.
Btw. I don't like Tailwind, I don't like inline styling at all. Sass FTW :)
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Paweł's solution.
Join 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