Tip Calculator using React.js

Solution retrospective
Hi there 👋 My first react.js solution and I must say it didn't quite turn out as expected and not very happy with the timeframe but I got it finally done! thou I still got few errors.
I only used useState
and useEffect
hooks and not sure if there was any other hooks that could have made life easier, I faced the difficulty to access input values and be able to reset it after pressing reset button and so I passed a lot of props in the parent component <TipCalculator/>
. I'm aware I could have fallen for prop drilling so if anyone got any tips it will be appreciated.
I am delighted that I have finished the project regardless of it's duration and excited for new challenges and improvement. Any feedback is gladly appreciated. 🙌
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Mazen Hassan'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