Responsive mobile-first app built with React

Solution retrospective
Is it worth using useReducer in App.js?
Any feedback is welcomed :)
Please log in to post a comment
Log in with GitHubCommunity feedback
- @fazzaamiarso
Hello Dimitar! Nice work!
In my opinion, using
useReducer
here will be overkill. You usually want to reach out touseReducer
when updating a state depends on another state. Here is a great explanation https://kentcdodds.com/blog/should-i-usestate-or-usereducerI hope it helps! Cheers!
Marked as helpful
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