Design comparison
Solution retrospective
Hello everyone~! (≧∇≦)ノ
For this challenge, I finally tried using React! Honestly, it's still quite confusing for me but I'll keep on learning~
It's been a while since the last time I coded so... Please check this one out! If you have any feedback or tips please do let me know! Thanks!! ( •̀ ω •́ )✧
Community feedback
- @fazzaamiarsoPosted over 2 years ago
Hello Briuwu, congratulation on your first React project.
Overall, your solution looks good for a first-timer.
For feedback,
generateRate
andrateValue
don't depend on state or props inside theApp
component. So, it's better to put them above the component. Why? because all functions defined inside a component will be re-created every time that component re-render. That means yourgenerateRate
andrateValue
will be re-created unnecessarily everytimeapp
component re-render .Here is a great resource that I recommend to get started with React, written by Kent C. Dodds. https://kentcdodds.com/blog/how-to-react. Hope it helps. Goodluck on your journey!!
Marked as helpful1 - @Esesosa-maxPosted over 2 years ago
- ✅ Good Looking Design 4.8/5
- ✅ Usage of ReactJS 2/2 ( bouns )
- ✅ Servers it Function properly 5/5
- ✅ Good Usage of Flexbox 4/5
- ✅ Perfectly Responsiveness 5/5
- ✅ Readable HTML structure 3.5/5
Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin 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