Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 8 months ago

Photosnap Website using React/Vite/Tailwindcss

P
Ahmed Lemssiah•560
@Arteque
A solution to the Photosnap multi-page website challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

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.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community 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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License