Calculator App With React.js, TypeScript & SCSS

Solution retrospective
Most proud of the styles, implementing different themes.
What challenges did you encounter, and how did you overcome them?Updating the states asynchronously: I had to use refs to get the latest values stored in the states.
Using TypeScript for the first time, I had to adapt and learn How to implement TypeScript with React's eco-system like context, states, props, etc...
What specific areas of your project would you like help with?-
Sometimes the results aren't correct.
-
If the user decided to change the operator (for example clicking on '+' then clicking on '/')
-
Using Math Priority Rules (order of operations for example: * & / before + & -)
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Kareem Ayman'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