Interactive rating component [using ReactJS]

Solution retrospective
This is my first project that uses ReactJS. So there were a few confusions during the implementation of the project:
-
I haven't used Vite to create a ReactJS project and I had some trouble deploying the project to github => I followed this website and this video . But I find it quite annoying to have to create a branch, Is this a good way to push Vite project to github?
-
Is it a good idea for me to use 'useState' and pass them through props for the child component to change the parent component's state?
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on The Nghia'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