Audiophile challenge with React, TypeScript, React router, Zustand...
Design comparison
Solution retrospective
I'm really proud of my solution this is a huge challenge! With the figma files it's easier and you have much more information available. I did my best to create a solution as close as possible to the design. Next time I'll try to submit a FullStack solution using Node.js and TypeScript. I hope you like my solution :)
What challenges did you encounter, and how did you overcome them?Creating a mobile menu was difficult for me especially because I don't have much experience using tailwindcss. My solution is functional but i'm sure I can do better, I just need to practice a little more.
Instead of creating a component or view for each category (headphones, speakers, earphones) and taking advantage of the URL params, I decided to create a single view and, using the useEffect Hook, once the component was ready, I could display the products of that category. I made this decision because I thought it wasn't necessary to repeat the same code for three different views, only changing the function that fetches the products. But again, I'm not sure if this solution is right.
What specific areas of your project would you like help with?Do you have any comments or suggestions? What can I do better next time? Is my solution to route management correct?
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