@eenareeSubmitted about 3 years ago
I made an input event handler for the tip counting, I would really appreciate any feedback on how it is. Thank you!
I made an input event handler for the tip counting, I would really appreciate any feedback on how it is. Thank you!
Thanks for your feedback! 👍
This made me think about breaking up components into smaller units, and practiced that. The code was rewritten using a state management library called recoil as well.
However, in the case of number 3, the greater the number of people compared to the dollar, the more 0 is displayed, but I do not think it is right to indicate more decimal places.
I haven't figured out the exact answer to this yet, so I haven't fixed it.