Mobile first design using React and useContext
Design comparison
Solution retrospective
Hi there,
I feel like I made fewer React mistakes in this challenge.
I didn't create any custom hooks in this project but I'm looking forward to doing so, what I'm also interested in doing is to use Redux, I see that a lot of employers are searching for people with Redux experience.
I used the useContext
hook to implement the cart functionality, I'm well aware that I could've also used localStorage to persist the cart data but I thought it was unnecessary. I wanted to try something new so I created the project using Vite, I couldn't figure out how to use Github Actions so I followed a tutorial on Youtube and I managed to set up the Github Pages as well.
Feel free to give any criticism.
Florian
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