REACT HOOKS PRACTICE

Solution retrospective
One of the best Challenges to test our hooks. I used useState, useEffect, useRef, useContext and useReducer hooks in this application. I even managed to create my own custom hook afterwards to refactor some of the code.
I'd appreciate any feedback on how I can improve at React in order to be a better programmer.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @peanutbutterjlly
hey 👋,
your app looks a functions BEAUTIFULLY.
I think your code looks well written/slick too! organized nicely, reads well, etc.
if I had to nitpick, I'd remove all the commented code from src/App.jsx (lines 22-75); and on your inputs (placeholders for 'DD', 'MM', 'YYYY') I'd remove the top padding to center those placeholders.
Those are TINY criticisms (and I think your solution is overall better than mines) - you did amazing on this.
keep up the good work!
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