Photosnap Website using React/Vite/Tailwindcss

Solution retrospective
To be honest, I'm not particularly proud of the code in its current state. It's quite messy, and there's definitely a lot of room for improvement. I didn’t follow many of the best practices in React, and looking back, I realize that the structure could have been more organized and maintainable.
What challenges did you encounter, and how did you overcome them?One of the biggest challenges I faced was learning to make the right choices instead of the easy ones. It’s tempting to go for quick fixes or shortcuts, especially when you're under pressure or trying to meet a deadline. But I realized that those “easy” choices often lead to more problems down the line, whether it's messy code, poor scalability, or technical debt.
What specific areas of your project would you like help with?There are a few specific areas where I’d really appreciate help. First, improving the overall structure and organization of the code — especially around how components are broken down and reused. I feel like there’s room for better separation of concerns and cleaner architecture.
Second, I’d love some guidance on best practices when it comes to state management in React. I’ve used basic useState and useEffect, but I know there are more scalable approaches out there, like using context or external libraries, and I’m not always sure when to use what.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Ahmed Lemssiah'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