Design comparison
SolutionDesign
Solution retrospective
- How do you suggest I build validation function more readability?
- Do you prefer moving out the function totally to another file and importing from there?
Community feedback
- @matusalab-devPosted over 1 year ago
Congrats, bro. for achieving this far. at the first, I don't think react class component is best practice in 2023, it deprecated feature of React. I recommend you to use React functional components. Take the validation logic, put it into a custom hook that would be reusable.
0
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