Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I'm proud of using Next.js and Context API to manage state efficiently, without passing props manually. Next time, I'd like to explore other state management tools to see how they work.
What challenges did you encounter, and how did you overcome them?I had trouble using Context in Next.js because it runs on the server by default, and you can't use Context there. I fixed this by marking the components that need context as client-side using the 'use client' directive at the top of the file.
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