Submitted over 1 year ago
Responsive Life Advice Generator made with create-react-app
@INS140
Design comparison
SolutionDesign
Solution retrospective
I am looking for some tips on my use of React Hooks. Would this be considered a good use of the useState hook?
window.onresize = () => setWindowWidth(window.innerWidth)```
Community feedback
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