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

Product List with Cart built using useReducer and Context

accessibility, react
Samuel Adu•1,100
@samuel-adu
A solution to the Product list with cart 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?

I'm proud that I was able to complete this without reaching for a state management library like Redux or Zustand.

What challenges did you encounter, and how did you overcome them?

My choice of implementing this was not something I had done before but with the help of these articles by Kent C Dodds, i was able to complete it and developed a better understanding of state management.

  • Application State Management with React

  • How to implement useState with useReducer

What specific areas of your project would you like help with?

I would really appreciate every feedback and suggestions on how I can improve.

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 Samuel Adu'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